|
Lazink Maeterlinck
Registered User
Join date: 8 Nov 2005
Posts: 332
|
07-25-2006 15:48
Does anyone have a quick formula using vector math to place an object, rezzed from another object in the same position reletive to the rezzer? I know I can use llSin and llCos to get the numbers I need by looking at the rotation, but I would like a simple formula with the current rotation of the rezzer itself. If anyone has a quick solution please let me know. Thank you.
|
|
Seifert Surface
Mathematician
Join date: 14 Jun 2005
Posts: 912
|
07-25-2006 16:09
It sounds what you're after is to put:
llGetPos() + (offset * llGetRot())
as the position in the llRezObject function.
_____________________
-Seifert Surface 2G!tGLf 2nLt9cG
|
|
Lazink Maeterlinck
Registered User
Join date: 8 Nov 2005
Posts: 332
|
07-25-2006 16:12
That is exactly what I needed. Thank you, been to long since I've done vector math. 
|