enter code here OnMouseDown(){
transform.parent = null;
rigidbody.isKinematic = false;
transform.InverseTransformPoint(transform.position);
// all above is working just as planned
//here need it so Convex is turned on the MeshCollider
//but there is an error with this \/
transform.collider.convex = true;
}
I get the error: ‘convex’ is not a member of ‘UnityEngine.Collider’
why can’t I access the convex toggle this way?
-thank you