xyz Hey thanks for that, I managed to mess around a bit and figured out how to do the 90 degree rotation, but I am currently stumped on how to rotate from current facing direction, rather than original.
Example it will rotate right 90 degrees, then I can't rotate it any more unless I rotate it left, and it will jump 180 degrees, 90 degrees from start, and then I can only switch between these two locations.
`func process(delta):
var curr_pos = the_object.position
if Input.is_action_just_pressed("accelerate"):
the_object.global_position = curr_pos + Vector2(0,-105)
if Input.is_action_just_pressed("decelerate"):
the_object.global_position = curr_pos + Vector2(0,105)
if Input.is_action_just_pressed("rotate_left"):
rotation_degrees = deg_to_rad(-90)
rotate(rotation_degrees)
if Input.is_action_just_pressed("rotate_right"):
rotation_degrees = (deg_to_rad(90))
rotate(rotation_degrees)