- Home /
Question by
Zenvin · Jan 26, 2018 at 05:54 PM ·
c#scripting problemphysicscollider
Replacing mesh collider with primitive colliders via script
How would I go about splitting a mesh into box colliders to remake a complex mesh collider with primitives via script in C#?
Comment
Best Answer
Answer by Bunny83 · Jan 26, 2018 at 06:09 PM
There is no easy way to 100% replace a MeshCollider with primitive colliders. However there are solutions which approximate the mesh with primitive colliders on the assetstore.
Your answer
![](https://koobas.hobune.stream/wayback/20220612151339im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Raycast and colliders problem. Corners of two colliders 0 Answers
Rigidbody.SweepTest Hit Trigger Colliders 0 Answers
When I enable certain scripts on my player, the transform falls through the map. 0 Answers
Make Ray hit own collider 1 Answer
How to check is object directly next to another object? 1 Answer