How To Make A Car Turn In Godot
I'm trying to make movements for car turning but the turning isn't smooth. The aim is to make the car turn in the direction of the wheel and the speed determines whether the car will actually turn or not. If the speed of the car is less than .5m/s, then only the wheels will turn, but the car won't follow that direction. The car's angle shouldn't snap to the target angle; it's supposed to rotate to it. Here the movement animation part of the code: # Movement animations if Input.is_action_pressed("ui_left"): animation_player.play("left_turn", -1, 2, false) if current_speed > .5 and Input.is_acti
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.