Jump to content
Sign in to follow this  
Sertica

Relative Position

Recommended Posts

I also tried: this attachTo[vC_Van_01_transport_F,(this worldToModel (getPosASL vC_Van_01_transport_F))].  That places the objects in a completely wrong place.  So the question is what format is a position to get a relative position?  There are several commands that take ambiguous position format.

Share this post


Link to post
Share on other sites

Bob setPos(player modelToWorld [0,0,0]);

 

modelToWorld offsets are exactly the same as attachTo, so if you already setup the offsets with attachTo, modelToWorld is your friend.

  • Like 2

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×