I have he following in a script:
//Set the sitting position and rotation.
vector sittingPosition = <0.0,0.0,0.1>;
vector sittingRotation = <0, 0, 0>;
llSitTarget(sittingPosition,llEuler2Rot(sittingRotation * DEG_TO_RAD));// Needed for llAvatarOnSitTarget to work
But, no matter what I change in the vector settings, the avatar remains in the same position.
This is for a rocking chair script. The seat of the chair is a box, rotated
x:180
y:273
z:180
and the script is attached to the seat, so when the avatar sits it is laying on its back, feet up in the air! I need to rotate the avatar forward ~90 degrees. Thanks for any help.