public override Vector3 ProcessMovement(Vector3 input) { MotorHelper.KillVector(ref input, machine.WallVector); MotorHelper.ApplySpeed(ref input, machine.speed); MotorHelper.ApplyGravity(ref input, ref currentFallingSpeed, machine.Gravity, terminalVelocity); return(input); }
public Vector3 ProcessFall(Vector3 input) { MotorHelper.KillVector(ref input, WallVector); MotorHelper.ApplySpeed(ref input, Speed); MotorHelper.ApplyGravity(ref input, ref VerticalVelocity, Gravity, TerminalVelocity); // Influence Air Velocity function not written currently return(input); }