@export var jump_height : float = 2.25 @export var jump_time_to_peak : float = 0.4 @export var jump_time_to_descent : float = 0.3 @onready var jump_velocity : float = ((2.0 * jump_height) / jump_time_to_peak) * -1.0 @onready var jump_gravity : float = ((-2.0 * jump_height) / (jump_time_to_peak * jump_time_to_peak)) * -1.0 @onready var fall_gravity : float = ((-2.0 * jump_height) / (jump_time_to_descent * jump_time_to_descent)) * -1.0 # source: https://youtu.be/IOe1aGY6hXA?feature=shared