3rd person collision detection

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
Invictus1017
Posts: 11
Joined: Sat Jul 15, 2006 5:42 am

3rd person collision detection

Post by Invictus1017 »

I'm having problems setting up simple collision detection inside a level for 3rd person, instead of the first person camera example in the tutorial. Any help would be appreciated. Thanks.
kornerr
Posts: 245
Joined: Thu Jul 06, 2006 9:57 am
Location: Russia, Siberia, Kemerovo
Contact:

Post by kornerr »

Doesn't smgr->createCollisionAnimator on that node work for you?
You should add collision animators to your 3rd person for every single node in a scene so that your 3rd person can collide with them. The same goes to other nodes in a scene. You'd better use ODE or Newton, if you don't want to write which node with which should be able to collide.
Open Source all the way, baby ;)
OSRPG
Post Reply