How can i make the turnstyle part rotate when i go through the turnstyle??. See attached image.
Your probably better off avoiding physics for this.
If you are super into the idea of using physics then you will want to set the rigidbody location to be fixed in all axis using the constraints, and only allow rotation only on the axis you want it to rotate around. You can set the drag and weight to give it the feeling you want. You will probably want the bounciness on the physics material to be 0 so that it more consistently moves with the player as they push against it.
thnx , but i solved the problem . Its an automatic type turnstyle where you have to press a button now to make the turnstyle turn . way easier than to deal with physics .
1 Like