ScriptReference/MeshCollider #382
Replies: 2 comments
-
|
Comment by If you want the collider to update after changing the sharedmesh, you can assign the same mesh to |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Comment by If you find yourself needing to recook the mesh collider often. Use this: public static void Recook(this MeshCollider meshCollider)
{
meshCollider.enabled = false;
meshCollider.enabled = true;
}Use it like this: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
ScriptReference/MeshCollider
https://docs.unity3d.com/ScriptReference/MeshCollider.html
Beta Was this translation helpful? Give feedback.
All reactions