Jump to content

Rez Object Facing Avatar


Christopher Organiser
 Share

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

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

Recommended Posts

You'd have to know which direction your av is facing first. One way to do that is to ask

rotation AvFacing = (rotation) llList2String(llGetObjectDetails(llGetOwner(),[OBJECT_ROT]),0);

Once you have that, then the rotation for your rezzed object should be

llEuler2Rot(<0.0,0.0,PI>)*AvFacing

That is, your own rotation times a 180 degree turn around the Z axis.  I assume that you mean to have the object rez in front of you, so you'd want the position vector to be your own position plus, say, <2.0,0.0,0.0>*AvFacing .

  • Like 1
Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 4367 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...