|
Heian Noel
Registered User
Join date: 10 May 2007
Posts: 5
|
05-22-2007 07:38
I must open the door of a bus I built, but I see something unwanted happening. My idea was to : - unlink the door from the bus; - open the door; - relink the door to the bus;
It seems to work exactly as I want, despite the fact that, sometimes some parts of the bus start rotating while linking and unlinking the door!!! I think it's a bug, but I ask you if there is a reason to that behaviour and, eventually, how I can solve my problem...
TNX
|
|
Lee Ponzu
What Would Steve Do?
Join date: 28 Jun 2006
Posts: 1,770
|
05-22-2007 10:08
Sliding doors  But, seriously, I *think* there are ways to open a door that is linked. You just have to figure out it's two rotations relative to the root prim, and use those. As for the bug, perhaps when the door is unlinked, the center of the rest of the vehicle is changed in someway that causes it to react.
|
|
Senuka Harbinger
A-Life, one bit at a time
Join date: 24 Oct 2005
Posts: 491
|
05-22-2007 10:13
From: Heian Noel I must open the door of a bus I built, but I see something unwanted happening. My idea was to : - unlink the door from the bus; - open the door; - relink the door to the bus;
It seems to work exactly as I want, despite the fact that, sometimes some parts of the bus start rotating while linking and unlinking the door!!! I think it's a bug, but I ask you if there is a reason to that behaviour and, eventually, how I can solve my problem...
TNX I usually encounter this behaviour with link/unlink only when the root prim is the prim being linked/unlinked. with child prims I have never run into this problem.
_____________________
My SLExchange shopTypos are forgiven; desecrating the english language with reckless abandon and necrophilic acts is not. The function is working perfectly fine. It's just not working the way you wanted it to work.
|
|
ed44 Gupte
Explorer (Retired)
Join date: 7 Oct 2005
Posts: 638
|
05-22-2007 18:08
Check out the Timeless Prototype door in the library. It is a linked door. It stores its size, rotation and position (wrt the root prim) for each of the two door states, open and close, in the door's description and name fields. Here is one place to get it: http://sha.dtm-network.com/all/lslwm/LibraryTimelessLinkedDoor.htm
|
|
Lightwave Valkyrie
Registered User
Join date: 30 Jan 2004
Posts: 666
|
05-23-2007 15:32
why are you linking unlinking? i have a phonebooth in Home of the Kazenojin - Runway 1, Gray (203, 155, 37) that has linked bifold doors it uses llSetPrimitiveParams([PRIM_POSITION, vec, PRIM_ROTATION, rot ]); to open and close the linked doors -LW
_____________________
L$ is the root of all evil videos work! thanks SL 
|
|
Zen Zeddmore
3dprinter Enthusiast
Join date: 31 Jul 2006
Posts: 604
|
05-29-2007 11:22
If you actually WANT to open the doors for ppl, then you must not be a <insert city name here> bus operator.<evil grin>
|
|
Bree Giffen
♥♣♦♠ Furrtune Hunter ♠♦♣♥
Join date: 22 Jun 2006
Posts: 2,715
|
05-31-2007 09:46
Is this an actual drivable bus? How about just using three prims for open-half open-closed and then cycling the alpha.
|