Page 1 of 1

[2.3] How to share skeletons/animations?

Posted: Sat May 01, 2021 11:08 pm
by crjc
I'm loading in a skinned character mesh, a skeleton and some animations.

But I'm wanting to be able to "hot swap" clothing meshes which would sit on top of the base character, these meshes would take on the base character's animations. I've done some research but I keep seeing references to 'shareSkeletonInstanceWith', which doesn't seem to be applicable in 2.3?

Any suggestions on how this problem should be tackled?

thanks

Re: [2.3] How to share skeletons/animations?

Posted: Sun May 02, 2021 4:49 am
by sercero
Hello,

It seems that in Ogre 2.3, it is called "useSkeletonInstanceFrom()".

You can find more info here: https://ogrecave.github.io/ogre-next/ap ... 54552efba7

I cannot help any further because I use Ogre 1.12.