DisableSlopeLimit() public method

public DisableSlopeLimit ( ) : void
return void
Exemplo n.º 1
0
    void Jump_EnterState()
    {
        controller.DisableClamping();
        controller.DisableSlopeLimit();

        moveDirection += transform.up * CalculateJumpSpeed(JumpHeight, Gravity);
    }