Hello, first post here. I'm trying to create my first item on SL.
I have a box. When this box is opened, two pose balls are called. I make it work with no serious problem.
Except that:
if the box is rezzed on the ground, the balls appears in a height relative to the box; since it's on ground, ok.
If the box is attached to the hand of an avatar, the balls appears in a height relative to the box PLUS avatar height.
I need the pose balls always relative to the ground level. This is my code:
llRezObject("AO1", llGetPos() + <0.0,0.0,0>, <0.0,0.0,0.0>, <0.707107, 0.0, 0.0, 0.707107>, 0);
llRezObject("AO2", llGetPos() + <0.0,0.0,0>, <0.0,0.0,0.0>, <0.707107, 0.0, 0.0, 0.707107>, 0);
Any idea or code snippet are welcome. Thanks!