Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llSetPrimitveParams using local rotation

Arrekusu Muromachi
SL Fighter Ace
Join date: 20 Feb 2005
Posts: 32
01-28-2006 19:09
Is it possible to use llSetPrimitiveParams to use local rotation instead of global? The way my landing gears operate in my planes requires two states. One to position it and another to handle the rotation function. This causes a problem as one starts before the other and makes the non-rotating wheel to retract before the strut retracts. I tried to set the gears using llSetPrimtiveParams however it seems to understand only global rotations.

Long story short. Is it possible to do local rotations with llSetPrimitiveParams or do I have to use llSetLocalRot to do that?
Seifert Surface
Mathematician
Join date: 14 Jun 2005
Posts: 912
01-28-2006 23:10
llSetRot(some_rot / llGetRootRotation()) is the same as llSetLocalRot(some_rot). llSetPrimitiveParams works like llSetRot.
_____________________
-Seifert Surface
2G!tGLf 2nLt9cG