About Store Forum Documentation Contact
Donations:
345$/mo



Post Reply 
Animation
Author Message
Babulesnik Offline
Member

Post: #1
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
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Animation
you're missing - cskel.animate(Motion &motion, ..)
check game basics tutorials, there is Motion tut too..
06-03-2011 12:19 PM
Find all posts by this user Quote this message in a reply
Babulesnik Offline
Member

Post: #3
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
Find all posts by this user Quote this message in a reply
Post Reply