- Home /
Changing / Updating Mesh Collider without Rigidbody
Hi,
I have got rigged a model with skinned mesh. Im changing Bones position, so i want to update my mesh collider with new position. I tried sharedmesh method but not worked in Unity 5.4
Has got any way for this. My model doesnt has got rigidbody. its organic model so i have to use mesh collider.
Who knows a way for this issue
Answer by christoph_r · Dec 05, 2016 at 09:39 AM
You don't need to use mesh colliders for skinned meshes. Approximating the shape with many capsule colliders usually performs better with acceptable results.
You can either set it to be a trigger and use OnTriggerEnter() or make the rigidbody kinematic.
I forced use mesh collider because my rigged object has got irregular shapes. So i cannot create colliders with regular colliders.
I will not use Rigidbody for the mesh i will change joint point's transforms manual.
Did you read about making rigidbodies kinematic?
And if it really has a shape that cannot be approximated reasonably well with primitive colliders (which I doubt) you will need to have multiple mesh colliders that are parented to the bones.