- Home /
characters keep getting pushed back
Hi I have a problem. Every time my main character runs into an enemy, the enemy gets pushed back far. I tried to give the enemies a rigidbody with mass and tried to ignore the enemies collider but that didn't work. Any suggestions?
Is your main character controlled by a charactercontroller? Is the enemy controlled by a charactercontroller ? Have you tried setting the drag of this rigidbody you added ? You can also try freezing the position and rotation of this rigidbody.
I'll try to give you a proper answer (if I can) when you'll answer these.
Ok sorry it took so long to get back to you. Yes I put the drag up and it works fine now.
@Setsuki you should post this as an answer and have @dreal1220 Accept it and vote it up. That way people will know this has been answered correctly, and you'll get some $$anonymous$$arma points :)
Your answer
Follow this Question
Related Questions
Unity First person controller force and mass 0 Answers
maximum torque/maximum force 0 Answers
Using character controller insted of normal collider 0 Answers
Making buoyancy script not mass based 1 Answer
My jumping script has errors 1 Answer