NeilInglis
08-04-2008 09:40:22
Hi,
I'm trying to get a grasp on collision detection in NxOgre and put it into a game. I have managed to make a custom CharacterHitReport in which a character collides with and actor, or body. I also need to get damaged or create damage when a character collides with another character. Collision Callbacks only appear to work on 2 actors, and the CharacterHitReport's function OnCharacterHit only takes one character and an Actor.
Looking through the source files, it doesn't appear the a character is a type of actor, though I could be wrong. Is there a method that I just haven't found to detect Character on Character Collision, or have I been interpretting things wrong?
Thank you.
I'm trying to get a grasp on collision detection in NxOgre and put it into a game. I have managed to make a custom CharacterHitReport in which a character collides with and actor, or body. I also need to get damaged or create damage when a character collides with another character. Collision Callbacks only appear to work on 2 actors, and the CharacterHitReport's function OnCharacterHit only takes one character and an Actor.
Looking through the source files, it doesn't appear the a character is a type of actor, though I could be wrong. Is there a method that I just haven't found to detect Character on Character Collision, or have I been interpretting things wrong?
Thank you.