- Home /
How to attach a collision mesh (.obj) to a car
Hello!
The question is pretty much in the title. I have a car and a collision mesh to go with it, but I don't know how to attach it to the car.
Are you trying to attach using the inspector or a script?
Answer by chaos456 · Mar 08, 2015 at 08:20 PM
To add a collider to your model, you need to add a Collider from the Components menu on the model's Inspector menu. Press Add Component, go to Physics and there you'll find a list of all the colliders available on Unity!
I suggest you use a Mesh Collider, as it will make a collider in the shape of the model you added to the Mesh bar. You just have to drag your car model on the Hierarchy to the Mesh bar inside the collider and it will automatically make the collider for you.
Hope to be of help and good luck!
Your answer
![](https://koobas.hobune.stream/wayback/20220613185526im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Edit WheelCollider's Axis, not the Mesh 0 Answers
Multiple Cars not working 1 Answer
Trouble with Inaccurate Mesh Collider 0 Answers
How do i code a Mesh collider ? 1 Answer
MeshCollider invert 0 Answers