- Home /
How to make multiple character controllers push each other?
I have a 2 player game and each player has a character controller. But i want the character controllers to push each other depending on who's pushing and how much pushing power the player has. Please Help!
Answer by iwaldrop · Apr 05, 2013 at 06:25 PM
If they have rigidbodies then they should push against each other automatically. The only things that will stop two rigidbodies from interacting is if one is set to kinematic or the layers that they're on don't interact.
Check the kinematic checkbox, and that their layers are set to interact in the Physics settings.
In order to have one push more than the other, they're going to need different masses. The more massive rigidbody will not be affected by the less massive one as easily as the other way around. If you want them to move at the same speed, then the more massive rigidbody will require some additional force applied.
Your answer
![](https://koobas.hobune.stream/wayback/20220613095742im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Character Controller with rigidbody 2 Answers
Help in Javascript destroying Objects using character controllers and conditionals 1 Answer
CharacterController Collision causing teleportation? 1 Answer
Character controller, player y changes when pushing on colliders 1 Answer
Box collider with rigid body yet enemies still pass through each other. 1 Answer