Add spaceship interaction components and update player movement logic
This commit is contained in:
@@ -104,3 +104,8 @@ func handle_direction(input_dir: float) -> Vector2:
|
||||
elif input_dir < 0:
|
||||
return Vector2.LEFT
|
||||
return last_direction
|
||||
|
||||
|
||||
|
||||
func on_ship_entered() -> void:
|
||||
rotation_target.rotation = 0
|
Reference in New Issue
Block a user