Menu

#2 Calling childrens OnAnimate

open
nobody
None
5
2007-05-31
2007-05-31
Anonymous
No

When i implement OnAnimate(long t) for a node i am not able to all the OnAnimate-method for the children of this node.

http://irrlicht.sourceforge.net/docu/classirr_1_1scene_1_1_i_scene_node.html#a25
"Also, OnAnimate() should be called for all child scene nodes here"

getChildren() only returns a SWIGTYPE_p_irr__core__listTirr__scene__ISceneNode_p_t which doesn't help at all and calling the super.OnAnimate(long t) causes a stack overflow

maybe implementing a method to call the OnAnimate() of ISceneNode C++-class would solve this

thanks for your help

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.