mllop1488304030 Posted August 23, 2014 Share Posted August 23, 2014 Hey I need help in this, if someone know please help: I have a cilinder prim (looking a coin) , I make it rotate during 2 sec in random ways and I want when it stop get facing same side that before rotating and facing UP. I did get this using llSetRot(llGetRot()*rot_xyzq) function, but this only work in the place where I am building, when I change of region or also in same region but with different height (skybox for example) it get facing other sides. I need always get facing up. Anyone knows about?, thank you in advance Link to comment Share on other sites More sharing options...
Rolig Loon Posted August 23, 2014 Share Posted August 23, 2014 Up is fairly easy. llSetLocalRot( llGetLocalRot() * llRotBetween( <0.0, 0.0,1.0> *llGetLocalRot(), <0.0, 0.0,1.0> ) ); Link to comment Share on other sites More sharing options...
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now