09-08-2011 09:05 AM
09-08-2011 09:48 AM
There is a "pelvis Z offset" option in the modifiers tab of the upload menu, you set it to a positive value for a bigger avatar, and a negative value for a smaller one (I use -0.45 for an avatar that's 15% of the default size). At least this works fine for me.
09-08-2011 09:51 AM
i tried different uploads, with different pelvis z offset, the problem is still here, it shows up only on avatar resize.
09-08-2011 09:56 AM
I had the same problem, created a jira (747), was told they fixed it, and still have the same problem. So now I call it a "feature." I have noticed that the large offsets seem to work, but the subtle ones fail on resize, standing from sitting or flying, and sim crossing.
09-13-2011 09:22 AM
z offset is specified as a static value on upload. If you resize the avatar from the state when it was updated, then the z-offset will be incorrect.
There is not an "easy" way to determine programatically exactly how much the z-offset needs to be scaled or modified if you resize the avatar. There are some ways to do it based on the avatar's skeleton, which is how the offset is computed for non-rigged avatars, but having a manually specified z-offset is the creator telling the system "ignore what you know about the size of this avatar, the pelvis should be this far off the ground". It would be nice to provide a mechanism for the creator to specify how that value should change as the avatar gets modified, or to figure out a way to reliably calculate what the new value should be, but its not a huge priority for us immediately.
09-13-2011 11:44 AM
Nyx Linden wrote:
would be nice to provide a mechanism for the creator to specify how that value should change as the avatar gets modified, or to figure out a way to reliably calculate what the new value should be, but its not a huge priority for us immediately.
If we provide a physics shape for a rigged mesh, can that be used to determine the correct pelvis-to-ground distance? The physics shape would not need to be provided for items that only are used above the feet (jacket, hat, etc). But for full body avatars or shoes, it would tell you what the intended lowest point in contact with the ground is, and the calculate the ground-to-hip-bone height from that. If the avatar is resized in Appearance, then redo the bottom to hip calculation. The presense of the physics shape is what tells you "the creator wants the ground contact to be here".
09-15-2011 04:46 AM
Perhaps ensure the object centre of the mesh is at the base of your model and not in the true centre.