From: EyeDye Constantine
what format does rotation go in? Max settings?
The rotation is a quaternion. LOL you know that one?
see
http://www.lslwiki.net/lslwiki/wakka.php?wakka=rotationFour floats, each one between -1 and +1.
From: EyeDye Constantine
The object is sideways so i have to rotate it 90 degrees on one of the planes, which one would the be?
Knowing nothing about how your object is orientated it is hard to say.
rot = < 0.70710678, 0.0, 0.0, 0.70710678 >; // 90 degrees around the X axis
rot = < 0.0, 0.70710678, 0.0, 0.70710678 >; // 90 degrees around the Y axis
rot = < 0.0, 0.0, 0.70710678, 0.70710678 >; // 90 degrees around the Z axis
rot = < -0.70710678, 0.0, 0.0, 0.70710678 >; // -90 degrees around the X axis
rot = < 0.0, -0.70710678, 0.0, 0.70710678 >; // -90 degrees around the Y axis
rot = < 0.0, 0.0, -0.70710678, 0.70710678 >; // -90 degrees around the Z axis
NOTE!
'pos' and 'rot' applies to the rezzed object, NOT the rezzing object