About Store Forum Documentation Contact



Post Reply 
Skining in gameplay
Author Message
cat555 Offline
Member

Post: #1
Skining in gameplay
Hi, i'm using skining features... it works very well in the animation editor, where i can see how the meshes are affected by bones transformations.

I'm trying to use the created bones, and the skining related with them, to animate an object during gameplay. So, in this particular case i don't want to use a custom animation and play it in the game. I want to transform the bone, and see the mesh transformation according with the skinning that was defined.

So, i was trying to trasform the bone, but can't figure it out how to achieve the effect, since nothing happens.

I'm using this, for example:

Code:
body->skeleton()->getBone(8"bone-x").transform(someMatrix);

Any idea?

Thanks!
10-22-2014 01:24 AM
Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #2
RE: Skining in gameplay
Hi,

Please see the "04 - Manual Editing" tutorial.
10-22-2014 04:36 AM
Find all posts by this user Quote this message in a reply
cat555 Offline
Member

Post: #3
RE: Skining in gameplay
Hi,

Don't know how, but i've just missed that tutorial... thanks for pointing me out...

I'm using the same strategy and it works just fine!

Thanks!
10-22-2014 04:41 PM
Find all posts by this user Quote this message in a reply
Post Reply