Tell me more ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I am doing a 3D RPG game, and I want the player to be unable to push the other characters in the game like if they were inside the static geometry of the level, but I want the other characters to push the player if he is trying to block their way while moving.

I am using the btKinematicCharacterController class, without any collision filter.

How can I do this please ?

Best regards.

share|improve this question
1  
I'm assuming you're going to have to key something off of a humanPlayer-type flag. However, human players may end up complaining, if rabbits end up pushing them off cliffs. – Clockwork-Muse Mar 8 '12 at 0:24
I'd also love to know how to accomplish this. I'm sure it lies in the direction of custom collision callbacks (that technique would give most control); however you could probably get something working by using dynamic rigid bodies, but that seems like the wrong solution to this problem. – Aralox Mar 14 '12 at 11:38
See this question about implementing custom collision response. It may help. – Byte56 Apr 20 '12 at 16:47

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.