Freeze only one axis of a rigidbody?

Hi!

i’m tryng to create a motorcycle physcs with wheel colliders… but i need to freeze only the x rotation of the rigidbody (when you wheel turn,it will rotate only the graphic model) but freeze rotation freezes all the axis… any idea?

pls help

Hello,

A simple solution can be assigning on your Update function, a constant value to the Rotation.x :slight_smile:

hope it helps :slight_smile: