Jump to content

Animation "limb" problem


Recommended Posts

I have built a character with elements created by CreateSphere() and CreateCylinder(). All parented with a central element collected in an own function. To animate single limbs of the "android" I first used the function getChildMeshes() to get the children of the parent.

The animation works together with a key-event, but there is one problem: while the first move the limbs are flying around, then they return to their place and work well.
How can I solve my Problem?
Link to comment
Share on other sites

Well @George3D from your playground it looks like the cylinders that are your "limbs" are rotating about their origins - which are at the centre of the meshes.

To rotate them properly, I think you need to move the origins (the pivot point) to the top of each cylinder. See this link for a discussion on doing this using "setPivotMatrix"


cheers, gryff :)

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...