Animate if button pressed

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.

Animate if button pressed

Postby mrWodoo » Sat May 05, 2012 11:11 am

Hi, how to animate mesh if button is pressed? I know how to determine if button is checked, but I dunno' how to "if animate".

Thanks.
mrWodoo
 
Posts: 12
Joined: Sat May 05, 2012 11:09 am

Re: Animate if button pressed

Postby CuteAlien » Sat May 05, 2012 8:24 pm

Check the documentation for IAnimatedMeshSceneNode: http://irrlicht.sourceforge.net/docu/cl ... _node.html

setAnimationSpeed or setFrameLoop could both be used.
IRC: #irrlicht on irc.freenode.net
My patches&stuff: http://www.michaelzeilfelder.de/irrlicht.htm
Games with Irrlicht: http://www.irrgheist.com/
News: http://www.reddit.com/r/irrlicht/
User avatar
CuteAlien
Admin
 
Posts: 5349
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany


Return to Beginners Help

Who is online

Users browsing this forum: No registered users and 1 guest