Replace this line with your Godot version v4.3.stable.official [77dcf97d8]
Replace this line with your Godot version
Ask your question here! Try to give as many details as possible How to ensure that the character is always in the front while moving
Ask your question here! Try to give as many details as possible
well, since the problem is just that your character is facing in the opposite direction of movement, couldn’t you simply rotate the desired rotation by 180 deg? like so:
player_body.rotation.y = lerp_angle(player_body.rotation.y, atan2(velocity.x, velocity.z) + PI, delta * angular_speed) # PI == deg_to_rad(180)
thank you