cat555
Member
|
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 |
|
Esenthel
Administrator
|
RE: Skining in gameplay
Hi,
Please see the "04 - Manual Editing" tutorial.
|
|
10-22-2014 04:36 AM |
|
cat555
Member
|
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 |
|