#i need help with Movement Speed

2 messages · Page 1 of 1 (latest)

trail shoal
slender socket
#

func Establish_Speed()->void:
Jump_Gravity = (2Jump_Height)/ pow(Jump_Peak_Time,2)
Fall_Gravity = (2
Jump_Height)/ pow(Jump_Fall_Time,2)
Jump_Velocity = ((Jump_Gravity)*(Jump_Peak_Time))
Speed = Jump_Distance/(Jump_Peak_Time+Jump_Fall_Time)

you are recalculating speed here.