Transform Vector to object space?

Usually, to get a vector from world space into object space you’d multiply it by the tfm of the object… I just can’t see where to get the matrix of a Transform to be able to do this? How is this done in Unity? cheers! :slight_smile:

just call transform.TransformDirection(Vector3)

This will return the modified vector. From there, you can pull out the local quaternions, vector axes, etc.