Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Rotation script reverse it

Tarina Sewell
Just Browsing Thank you
Join date: 20 Jul 2007
Posts: 2,180
07-17-2008 08:12
How do I make my simple rotation script reverse?

Please keep in mind I've only had 1 scripting class and I crashed halfway through it.


Thank you I am using this.


default
{
state_entry()
{
llOwnerSay("You borked it girly";);
}

touch_start(integer total_number)
{
llTargetOmega(<0,0,1> ,1, 1);
}
}
Meade Paravane
Hedgehog
Join date: 21 Nov 2006
Posts: 4,845
07-17-2008 08:20
Try this: llTargetOmega (<0.0, 0.0, -1.0>, 1.0, 1.0);

I think this will also work: llTargetOmega (<0.0, 0.0, 1.0>, -1.0, 1.0);
_____________________
Tired of shouting clubs and lucky chairs? Vote for llParcelSay!!!
- Go here: http://jira.secondlife.com/browse/SVC-1224
- If you see "if you were logged in.." on the left, click it and log in
- Click the "Vote for it" link on the left
Cheewha Palen
Registered User
Join date: 27 Nov 2007
Posts: 78
07-17-2008 08:23
I always reverse the vector maybe just another way of achieving this:

llTargetOmega(<0,0,-1> ,1, 1);

llTargetOmega(<0,-1,0> ,1, 1);

llTargetOmega(<-1,0,0> ,1, 1);
Ollj Oh
Registered User
Join date: 28 Aug 2007
Posts: 522
07-17-2008 08:31
llTargetOmega(-<0,0,-1> ,-1, 1);//tripple minus, works inefficient
Tarina Sewell
Just Browsing Thank you
Join date: 20 Jul 2007
Posts: 2,180
07-17-2008 08:43
Thank you sooooooooooooooooooooooooo much that worked great!

I learned something new! Love you guys I really do!