binyan Posted July 4, 2014 Share Posted July 4, 2014 Given a vector expressed in global space and a mesh, how can I get the position of this vector within a mesh local space?Or, alternatively, how can I get a parent position within a child local space? Update:Just figured it out... It is simply vector.subtract(Mesh.getAbsolutePosition()), right? Update2:Ok it's not... Because it doesn't take in account the mesh rotation. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.