Assets/Scripts/Player/Movement/PlayerMovementModifier.cs
/// <summary>
/// triggers a jump that reaches y + pinnacle
/// </summary>
/// <param name="pinnacle">the altitude to reach</param>
triggers a jump that reaches y + pinnacle
triggers a jump that reaches y + pinnacle
public void TrampolineJump(float pinnacle)
            {
                jumpSpeedY0 = Mathf.Sqrt(2 * pinnacle * playerPhysics.GetGravity());
                trampolineTrigger = true;
            }
public void TrampolineJump ( float pinnacle ) { jumpSpeedY0 = Mathf . Sqrt ( 2 * pinnacle * playerPhysics . GetGravity ( ) ) ; trampolineTrigger = true ; }
triggers a jump that reaches y + pinnacle
triggers a jump that reaches y + pinnacle
pinnacle
float
the altitude to reach
the altitude to reach