AlignOrientation causing vehicle to slowly drift to one side

  1. I want to find a solution that will stop my vehicle from slowly rotating around the Y axis.

  2. When you are sitting on the vehicle it will slowly rotate around the Y axis, this will make it veer slightly off to one side when you are driving.

  3. I searched on the developer hub and didn’t find any solutions.

The vehicle is based of the vehicles that roblox created and are available in the tooblox. It’s a two wheeled dirtbike.
Attached is a screenshot of the code, basically it sets an AlignOrientation so that the vehicle will rotate on turns.

1 Like