|
JorgeLuis Burrel
Registered User
Join date: 27 May 2006
Posts: 24
|
01-29-2007 15:53
Hi All.... I figured out how to script a swivel chair... take control of the left- and right-arrows when an avie sits down, and use llSetRot(). (Also can do it with physics for a smoother spin.) Great, but it's not what I want. I want a swivel chair in a flying vehicle I'm building, so I took that script and put it in a child prim with a sit target. It worked, the chair swivelled around in the vehicle as predicted... but my avie did not.  Anyone have an idea for how to get the sitting avie to swivel too? It would be good enough for me even if it only worked on non-physical objects. Thanks, JLB
|
|
DoteDote Edison
Thinks Too Much
Join date: 6 Jun 2004
Posts: 790
|
01-29-2007 16:51
Unfortunately, when an avatar sits on a child prim, the avatar becomes just another 'prim' in the linked set. There is no special association within the link set between the child prim and the avatar. So, rotating or even positioning the child prim has no effect on the avatar... only the child prim.
|
|
JorgeLuis Burrel
Registered User
Join date: 27 May 2006
Posts: 24
|
01-29-2007 20:22
From: DoteDote Edison Unfortunately, when an avatar sits on a child prim, the avatar becomes just another 'prim' in the linked set. There is no special association within the link set between the child prim and the avatar. So, rotating or even positioning the child prim has no effect on the avatar... only the child prim. Thanks, that's what I figured was going on.... but is there a way to modify the local rotation of the avatar once it has sat down? I'm guessing "no" but I would be delighted to be wrong. 
|