David78 Posted December 16, 2014 Share Posted December 16, 2014 These are two simple questions, regarding parent-child relationships. It's not that I don't get this: "Any postion, rotation and scaling transformations made to the parent... prior to assigning it to children... will also be applied to the children when the parent is assigned." What's happening rather is that when I load two meshes and make the first one the parent of the second or vice versa, there is an initial displacement in the child's position. On loading the meshes, this is the only line of code involving them, the rest sets up the camera, lights, etc:newMeshes.parent = newMeshes;Which results in newMeshes being displaced. When newMeshes is moved after this it works fine, whatever transformations are done on it are also done to newMeshes, the issue is this initial displacement. The second question is whether parent-child relationships can be defined between specific parts of a mesh and another mesh. For example, say a human-like mesh is loaded that has skeletal animation where one hand moves up and down, and I want a sphere or another mesh to also move based on the motion of this one hand and not of the entire body. (Without using sub-meshes) how can this be done? Can a mesh be attached to the motion of skeletal animation? Still a noobie learning the ropes... Thanks in advance. 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.