Updating FPS setting to lock to 30. Update cue to ball collision impulse calculations

This commit is contained in:
2026-08-16 05:00:05 -05:00
parent 84509a7f03
commit 8094d4066b
10 changed files with 99 additions and 59 deletions

View File

@@ -43,6 +43,8 @@ func cue_kick() -> void:
animation_player.stop()
animation_player.set_current_animation("RESET")
# NOTE: If 'set_speed_scale' set to a negative value, the animation
# is played in reverse. If set to 0, the animation will not advance.
animation_player.set_speed_scale(
-1 / animation_player.get_current_animation_position()
)