Hello
I have this issue: I need to create a piece of furniture which needs to accomodate more than one "actors" sitting in different places on it performing different animations, AND facing in different directions while they are on Sitting positions.
Similar effect can be accomplished by the use of poseballs linked in different parts of the furniture and cunningly rotated in such angles that the avatars who sit on the poseballs face where we need them to face.
For example in the case of a sex bed, where the partners need to face each other, or not depending on the sex position.
Same effect can be achieved without poseballs, by the use of the furniture itself and a llDialog from which the "sitters" can choose their position.
Each sitter will have a different sit target. My problem is that the offeset on llSitTarget()works ok, but the rotation of the sit target does not!!...
I havent got the theory well or something, but I try to replace the ZERO_ROTATION with a vector for 90degrees or so, and the debugger responds"syntax error" when i try to use
rotation functions like lleulToRot or such.
Does anybody has a piece of script/example where a sit Target with rotation is used?.
OR
are there any other ways to have this result without poseballs?
Thanx a lot.
PS: I had this thought: If there are hidden poseballs, but the user sits on them when he sits on the furniture?. I mean not sitting on them directly, but the script assigns to the avatar the ball's sitting position?