How to prevent Projectiles interacting with their Creator?
Posted: Wed Sep 11, 2013 10:27 pm
I'm making a 2D game, and I have run into a problem. The "bullets" that the player shoots either collide with the player character, making him jump every time he shoots, or start too far away from the player, not correctly interacting with objects directly beside the player.
The obvious solution that I thought of was making it such that the player's bullets do not interact with the player, but being new to Bullet Physics, I do now know how to achieve such results.
What is the best way for me to have the bullets pass through the player as they are created, without affecting the player?
The obvious solution that I thought of was making it such that the player's bullets do not interact with the player, but being new to Bullet Physics, I do now know how to achieve such results.
What is the best way for me to have the bullets pass through the player as they are created, without affecting the player?