|
Jinne Ling
Registered User
Join date: 23 Jun 2007
Posts: 24
|
06-28-2008 20:15
Hi. I'm making a hot tub, and i'm having a problem positioning the avatar relative to the poseball. I need the avi to be positioned below the poseball rather than above it. One cannot click on the poseball if the poseball is within the (phantom) water prim, so the poseball has to be above the water. the avi, of course, needs to be within the water. i need a quick lesson on positioning the avi relative to the poseball. how would i position the avi a little below the poseball using this script? vector POSITION=<0.0, 0.0, 0.0>;
|
|
Zozo Plympton
Registered User
Join date: 26 Oct 2006
Posts: 26
|
06-28-2008 20:29
Create a new script in the poseball and add to the default state_entry() event handler the following line:
llSitTarget(<0,0,-0.5>, ZERO_ROTATION);
It would look like:
default { state_entry() { llSitTarget(<0,0,-0.5>, ZERO_ROTATION); } }
Save the script and sit on the ball. This will position the avatar 0.5 m below the ball.
|
|
Jinne Ling
Registered User
Join date: 23 Jun 2007
Posts: 24
|
06-28-2008 21:26
that did it! thank you!
|