I have an object that is doing something strange when the avatar stands up from sitting.
If the rotation of the object is X=0, Y=0, and Z=0, the avatar gets "stuck" in the object and does crazy things - running in place, looking around, etc. Eventually he works himself free, but it can take up to 20 seconds to happen.
If the Z rotation of the object is plus or minus 10 from zero or more, then all is fine - the avatar stands up normally and doesn't get stuck.
I'm thinking that llPushObject will help here?
I've tried using llPushObject without success, however. Even this crazy amount
llPushObject(agent, <100,100,100>, ZERO_VECTOR, FALSE);
does nothing when the Z rot is 0.
Any suggestions? I'd like the avatar to consistently stand to the side of the object, no matter what the Z rot of the object is. Thanks!