Collision detection events

cyberculose

18-02-2008 01:09:59

Hello there, Im' new with NxOgre and I would like to know how to detect collision between 2 bodies in a scene with NxOgre 0.9... for example I would like to call a takeDamage function when my character hit something or when a bullet hit him... I saw that there's a TriggerCallback interface but I'm not sure how to use it... does anyone have some example code...

thanks

by the way, ever consider to make a wiki for documenting NxOgre, cause it's a bit messy getting info in the forum ?

NickM

18-02-2008 06:16:00

This link and the links within it may be of interest to you.

http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=6197