public CharacterMotor() { this.canControl = true; this.useFixedUpdate = true; this.inputMoveDirection = Vector3.zero; this.movement = new CharacterMotorMovement(); this.jumping = new CharacterMotorJumping(); this.movingPlatform = new CharacterMotorMovingPlatform(); this.sliding = new CharacterMotorSliding(); this.grounded = true; this.groundNormal = Vector3.zero; this.lastGroundNormal = Vector3.zero; }
public CharacterMotor() { canControl = true; useFixedUpdate = true; inputMoveDirection = Vector3.zero; movement = new CharacterMotorMovement(); jumping = new CharacterMotorJumping(); movingPlatform = new CharacterMotorMovingPlatform(); sliding = new CharacterMotorSliding(); grounded = true; groundNormal = Vector3.zero; lastGroundNormal = Vector3.zero; }
public CharacterMotor() { CanControl = true; UseFixedUpdate = true; InputMoveDirection = Vector3.zero; Movement = new CharacterMotorMovement(); Jumping = new CharacterMotorJumping(); MovingPlatform = new CharacterMotorMovingPlatform(); Sliding = new CharacterMotorSliding(); Grounded = true; GroundNormal = Vector3.zero; _lastGroundNormal = Vector3.zero; }