Jump to content

llRezObject Projectile Rotation Issue


Zoraster Lunardi
 Share

You are about to reply to a thread that has been inactive for 4802 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

I am rezzing a projectile with the llRezObject function and the projectile launches as expected. I can move the object and the projectile rez follows the objects as desired,

 But I can not figure out how to rotate the object and have the projectile launch in the direction of the launching object.

Link to comment
Share on other sites

The third parameter - vector vel - is the direction in which the rezzed-object will move.  If you give this a fixed value the projectile will always launch in that one direction.  You must therefore rotate that direction to match the parent object.  To do that multiply by the parent's rotation:  <vector> * llGetRot()

  • Like 1
Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 4802 days.

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
 Share

×
×
  • Create New...