Jump to content

Translation from global coordinates into local


photo

Recommended Posts

Posted

Hi,
 

The question is  is there transfer function of the vector from global coordinates in to local to the some object.
for example the vector (0,0,1) to local coordinates of the object with arbitrary transform.

Thnx
Posted

Hi there!

 

Just multiply your vector in world coordinates by object's world inverse matrix.

×
×
  • Create New...