Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Height-Adjusting Pose Ball

Cheree Bury
ChereeMotion Owner
Join date: 6 Jun 2007
Posts: 666
06-24-2008 09:44
I have made some modifications to a common pose ball script to automatically adjust the avi's z-position according to their height. Basically, I have the pose ball rezzed on the floor, and when the avi 'Sits' on it, the script moves the avi up or down a bit so their feet just touch the floor.

It works well for close-to-average height and up to very-tall avis. But very short avis (not tinies) still float a bit off the floor.

Does anyone have any experience with this? Are there already pose ball scripts out there that accomplish this? Or maybe there is an existing thread that discusses this? (I searched and didn't find one.)

Thx, Cheree
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
06-24-2008 10:11
I don't know, but here is an additional warning. I believe a few of the appearance fields can contribute to avatar height, so if the avatar's body proportions are unusual (tall but with short legs, thin vs. thick shoes, etc.) it might also cause problems.
Cheree Bury
ChereeMotion Owner
Join date: 6 Jun 2007
Posts: 666
Help me test it?
06-25-2008 18:51
I have made a quick Hand on Heart pose for the upcoming holiday. I have placed it into a pose ball in my store. The pose ball has my new script in it.

I would appreciate it if you forum readers would come by and test it for me. Let me know how close your feet are to the floor beneath you. A quick IM will be fine.

I will give you the pose ball just for helping me out. (I modified the script to give you a copy of the pose ball automatically.)

http://slurl.com/secondlife/Peerskill/112/158/125

Thank so much,
Cheree Bury
owner, ChereeMotion
Nexii Malthus
[Cubitar]Mothership
Join date: 24 Apr 2006
Posts: 400
06-25-2008 18:59
Cheree, this is because Tiny animations fold the legs and artifically move the pelvis (basically entire avatar) down to the ground, and due to the animations might be causing floating above ground or even cause the legs to collide with the ground.

Otherwise if you are noticing this fault with normal human avatars you might wanna try testing between llGetAgentSize or llGetBoundingBox functions to see which one is more accurate.
_____________________

Geometric Library, for all your 3D maths needs.
https://wiki.secondlife.com/wiki/Geometric

Creator of the Vertical Life Client
Cheree Bury
ChereeMotion Owner
Join date: 6 Jun 2007
Posts: 666
06-25-2008 20:26
From: Nexii Malthus
Cheree, this is because Tiny animations fold the legs and artifically move the pelvis (basically entire avatar) down to the ground, and due to the animations might be causing floating above ground or even cause the legs to collide with the ground.

Otherwise if you are noticing this fault with normal human avatars you might wanna try testing between llGetAgentSize or llGetBoundingBox functions to see which one is more accurate.



I am not talking about tinies. They have their own problems. I am using llGetAgentSize now, so I will try llGetBounding Box and see if it is any different.

Thanks for the siggeston.