Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
ifIf you are using the Rigidbodya rigid body, then freeze the rotation and position in rigidbody constrains this thingunder the rigid body constraints. This worked for me.
if you are using the Rigidbody then freeze the rotation and position in rigidbody constrains this thing worked for me
If you are using a rigid body, then freeze the rotation and position under the rigid body constraints. This worked for me.