Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llSit on target

Perwin Rambler
Registered User
Join date: 24 Mar 2005
Posts: 152
06-05-2005 09:47
I am trying to create a basic sit ball that will (no matter the avatar hieght) make the person
stand at floor level.

This is a basic ball that people can use to align dancers with.

go to basic and some avatars feet go below the floor

I have it now where I rez a ball on the ground. I take the messurement of the avatar and devide by 2 that is my Z axis offset.

Now if I take a close to 6 foot avatar and make him stand, it works perfectly
but if I shrink my avatar down he dances much higher than a taller avatar.

I do do a llResetScript everytime a avatar stands up.

I am confused as to why the smaller avatar is higher.
Zindorf Yossarian
Master of Disaster
Join date: 9 Mar 2004
Posts: 160
06-05-2005 10:23
Are you monitoring what height the ball finds for each person? Make sure that the height it finds is correct. I don't really know where the center of sitting is, but that might also be giving you trouble.
_____________________
Badass Ninja Penguin: Killing stuff it doesn't like since sometime in May 2004.
Perwin Rambler
Registered User
Join date: 24 Mar 2005
Posts: 152
height
06-06-2005 08:29
yes I monitor the height and the values do change which is wierd that I don't see the effect for it. One thing I was wondering is, if ocne a script is rezed and the first avatar stands on it would the sit on target update only once? it is perplexing but not a major problem.