Set contrain in rigidbody block