Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

What is llAxes2Rot(vector fwd, vector left, vector up) ?

Paradigm Brodsky
Hmmm, How do I set this?
Join date: 28 Apr 2004
Posts: 206
10-21-2004 20:11
Can anyone explain what the function llAxes2Rot(vector fwd, vector left, vector up) does? I've been playing with it but I'm not getting any results that make since to me so I can't figure out what it does or what it is usefull for.
Moleculor Satyr
Fireflies!
Join date: 5 Jan 2004
Posts: 2,650
10-21-2004 20:22
Take an object. Turn on local axes. See the red arrow? It's pointing a direction. Any point along that line is a point you can feed to fwd. See the green one? That's left. See the blue one? That's up.

Feed those values in, you'll get a quartanrariwaoewnewroi rotation. One of those four number dealy jobbies, that you can take and rotate an object using, to make it match that axis alignment.

I think.