[2.3] How to share skeletons/animations?

Discussion area about developing with Ogre-Next (2.1, 2.2 and beyond)


Post Reply
crjc
Gnoblar
Posts: 14
Joined: Sat Oct 10, 2020 10:19 pm

[2.3] How to share skeletons/animations?

Post 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
User avatar
sercero
Bronze Sponsor
Bronze Sponsor
Posts: 449
Joined: Sun Jan 18, 2015 4:20 pm
Location: Buenos Aires, Argentina
x 156

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

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