How to get transformed vertices for skinned mesh

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
n00bc0de
Posts: 123
Joined: Tue Oct 04, 2022 1:21 am

How to get transformed vertices for skinned mesh

Post by n00bc0de »

How would I get the transformed vertices for a skinned mesh for a specific frame of animation?
CuteAlien
Admin
Posts: 9933
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: How to get transformed vertices for skinned mesh

Post by CuteAlien »

You call setCurrentFrame, OnAnimate and then getMesh. The way that animation system works the original mesh is not really kept (at least not directly, it's still there in some other representation via the keys) and instead the mesh is modified each frame.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
n00bc0de
Posts: 123
Joined: Tue Oct 04, 2022 1:21 am

Re: How to get transformed vertices for skinned mesh

Post by n00bc0de »

Thanks. For some reason, I can get through the complex stuff but I struggle with the simple stuff.
Post Reply