Hello, everyone! Right now I got a cylinder without a rigidbody and without a collider, and it’s parent is an empty game object with a rigidbody (x,y,z position and y,z rotation are frozen) and a collider. It’s pivot point is slightly above the cylinder.
I want it to rotate around it’s pivot point (around the x axis). When I do it with a script it works fine, but on collision the game object rotates around center. How do I fix it?