I have a dodgeball gear in my game and recently re-coded my projectile system to move away from BodyMovers and use ApplyImpulse(). I want the dodgeballs to physically-correct interact with one another. So now here is the unique problem I have encountered which I did not have before.
When you click to throw the dodgeball behind you, the projectile spawns at the characters hand and is given an impulse to launch it backwards. The issue I have is the dodgeball actually ends up flying backwards from the hand and colliding with the players torso/body parts, hence bouncing off of them and launching forwards.
Does anyone have ideas to momentarily disable the dodgeballs collision only with the player who shot it? Or another idea to successfully throw it backwards without it colliding with the players own body and bouncing off of it?
You can try making just 2, one for the dodgeball, and one for the character whos throwing it. Make it so that the dodgeball can’t collide with the character, but will collide with the default collision group.
You can destroy these collision groups after a few seconds to avoid stacking collision groups.