Question by
unity_WM3QMp6O29GV-g · Jul 17, 2020 at 11:00 AM ·
rotationgravity
How to Set a Single Axis Rotation of a GameObject?
i'm doing a proj where the player controls a car that drives in a straight road on a spherical sphere, how do i make a gravity that rotates the car around just the x axis? i've already wrote a script for the gravity and it works but it rotates the car around all the axis and i want that the car rotates just around the x axis since the road is straight.
Comment