Skip to content

Commit

Permalink
Control fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
oneseedfruit committed Apr 27, 2021
1 parent 7ac4281 commit c3813c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hammered_nail/hammered_nail.gd
Expand Up @@ -15,7 +15,7 @@ func _physics_process(_delta: float) -> void:

# warning-ignore:unused_argument
func _process(delta: float) -> void:
look_at(get_global_mouse_position())
look_at(Vector2(get_global_mouse_position().x, get_global_mouse_position().y + 128))
rotation -= PI / 2
rotation_degrees = clamp(rotation_degrees, -70, 70)

Expand Down

0 comments on commit c3813c7

Please sign in to comment.