- Home /
how doI add collision to my character ?
hi...
I wrote a script for the movement of my character , but it doesn't stop when it collide with wall .
what should I do ?
note : I don't wanna use First or third controller
Why not use one of the Controllers? That's exactly and entirely, what they do, especially CharacterController. Are you using a Rigidbody ins$$anonymous$$d?
I want use a fps controller , but when press left or right arrow the character walk side , I want it to turn right or left , so I wrote a new script for that . if there is a way to let the player turn by using fps controller please tell me
Answer by fireDude67 · Aug 19, 2011 at 02:33 PM
Add a collider: click on your character and then use Components -> Physics -> Box Collider.
Note that you cannot use tranform.Translate
to move your character with this in any way that I know of.
Your answer
![](https://koobas.hobune.stream/wayback/20220612184304im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Damage on collision with player.. 1 Answer
How to make scene restart on collision. 1 Answer
CharacterController is stuck [video and screenshots] 0 Answers
Character Controller Side Collision 1 Answer