Updating FPS setting to lock to 30. Update cue to ball collision impulse calculations
This commit is contained in:
@@ -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()
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user