|
Skirnir Bradley
Registered User
Join date: 6 Dec 2006
Posts: 2
|
12-09-2006 18:25
ok i am a novice scripter and recently wrote a script that would res an object B when object A was touched. it is working how i want with one exception when you rotate object A and then res object B doesnt get the new rotation and ends up not lining up correctly below is the script with the rez line in it any help would be appriciated i know i is something stupid i am missing.
llRezObject("object B", llGetpos() + (llRot2Fwd(llGetRot())*.5), <0,0,0>, <0,0,0,0>,1);
basically if possible i want the rotation of object B to match that of object A when resed.
|
|
Skirnir Bradley
Registered User
Join date: 6 Dec 2006
Posts: 2
|
12-09-2006 19:28
nm on this i got it shortly after posting it was something stuipid  if any ever wonder the line to rez and get therotatin is below llRezObject("object B", llGetpos() + (llRot2Fwd(llGetRot())*.5), <0,0,0>, llGetRot(),1);
|