irr files collision

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.
Post Reply
konrad
Posts: 15
Joined: Wed Oct 03, 2007 7:07 pm
Location: Poland

irr files collision

Post by konrad »

Hi all.
I use this code ( Travis ) http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=19725
why i can chose name nodes to "CollisionResponseAnimator" in irr files?

( Nodes name= SOLID -> setCollision )

Thanks for any help :)
vitek
Bug Slayer
Posts: 3919
Joined: Mon Jan 16, 2006 10:52 am
Location: Corvallis, OR

Post by vitek »

Not sure what you're asking. Are you having problems setting node names in the .irr file, or are you trying to find nodes with a given name? If you only want to add collision for nodes with the name "SOLID", then you just need to check the name before you go and assign a triangle selector to it. If the name isn't right, then don't bother setting the selector.

Travis
Post Reply