Jump to content

Mesh position does not move with animation


Recommended Posts

I have a door which slides open (just like a lift door) using scene.beginAnimation(skeletons, 0, 100, false, 1.0);

When I try to enter the door from the empty space after the door has slided, if I have collisions enabled on my camera, I can't, because the camera collides with the door. The mesh coordinates are not updated with the skeleton movement, because Scene.pick  still "hits" the door at its position when it was closed.

This question has been asked before but I think there was no fair and clear answer.


Is there a solution to this issue? If yes, in Babylon or bone hierarchy in 3D software ie:3DSMax ?

Finally, what is this skeleton property needInitialSkinMatrix?

Link to comment
Share on other sites

Only a skeleton/bones collection provides smooth animation. I don't want to translate the mesh, if that is what you implied.

Just a note here, that I guess mesh coordinates are not updated since looping wouldn't work,since looping starts from early position.

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...