With a rotated object in my scene, how can I translate a global vector into the local space of that rotated object, so that they are rendered in the same spot of the global vector?
Solution 1:
You want to add an object as a child of a parent object such that the world position and orientation of the child do not change.
You can do that using the following pattern:
parent.attach( object );
three.js r.107
Share
Post a Comment
for "Translate A Vector From Global Space To Local Vector In Three.js"
Post a Comment for "Translate A Vector From Global Space To Local Vector In Three.js"