Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

rotation help

Mille Allen
Registered User
Join date: 1 Jun 2007
Posts: 25
01-23-2009 18:44
default
{

state_entry() {
llListen(1,"", NULL_KEY, "";);
}

listen(integer channel, string name, key id, string message) {
if (message == "pack";) {

llSetPos(llGetLocalPos()-<0.1,0,0>;);
}
}

}

This script works as it is surpose too, but i want itto rotate, from 78.75 degrees to 90 on the X axis, but i can't get it to work, so if some one in here can help me i would be very glad.
Yingzi Xue
Registered User
Join date: 11 Jun 2008
Posts: 144
01-23-2009 18:56
What you need is here... http://wiki.secondlife.com/wiki/LlSetRot and/or here http://wiki.secondlife.com/wiki/LSL_llEuler2Rot
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
01-24-2009 20:10
might also help to know if you're rotating the object on it's local axis or the region axis
will help you there
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -