How do I stop unwanted rotations?

My object currently has forward force applied to it all the time, and sideway force only when a key is pressed. When i play my object kept rotating on its Y axis, it shows on the transform tab in the inspector, its very very slow but its noticeable. The ground that its on is flat, and the object itself is a cube. i`m still new at this, can somebody help me?

On the Rigid body component, there’s a constraints section where you can freeze rotation or position. Just freeze your desired rotation, play around with it until you get desired results

I dont want to stop all rotation and by freezing an axis my object wont rotate even when it hit another object. The Rotation im having issues with is a rotation that happen for no reason, when my object go forward it also rotate in the Y axis a little bit but continuously, and thats what i want to stop.

Check that your force is being applied at the globalCenterOfMass.

If not then you force will be pushing it off course.

I have the same issue, and I can’t find any solutions.