Babulesnik
Member
|
Animation
Hi.I need to run the animation team at the end of predyduschey.I at different speeds. Decided to use the class "Motion". Why not work with this?
Code:
Motion Motions;
Bool Update()
{
...
if(Kb.b(KB_ENTER)) {Motions.set(ObjAnimatable[0].cskel,"Anim/Kosti/ p3_brosok.anim");}
Motions.updateAuto(2,2,1);
}
|
|
06-03-2011 10:33 AM |
|
Esenthel
Administrator
|
RE: Animation
you're missing - cskel.animate(Motion &motion, ..)
check game basics tutorials, there is Motion tut too..
|
|
06-03-2011 12:19 PM |
|
Babulesnik
Member
|
RE: Animation
(06-03-2011 12:19 PM)Esenthel Wrote: you're missing - cskel.animate(Motion &motion, ..)
check game basics tutorials, there is Motion tut too..
Thanks
|
|
06-03-2011 12:39 PM |
|