Battle Talent  V11
Public Types | Public Attributes | Protected Member Functions | Protected Attributes | Properties | List of all members
CrossLink.PhysicsLever Class Reference

Inherits MonoBehaviour.

Public Types

enum class  LeverPosition { Off , Mid , On }
 
enum class  RotationAxis { XAxis , YAxis , ZAxis }
 

Public Attributes

Rigidbody Rigidbody
 
float LastValue
 
float CurrentValue
 
LeverPosition LastLeverPosition
 
LeverPosition CurrentLeverPosition
 
bool LeverEngaged = false
 
float EngageWaitTime = 1f
 

Protected Member Functions

void Awake ()
 
void Update ()
 
virtual void Engage ()
 

Protected Attributes

Transform InitialAttachPoint
 
HingeJoint HingeJoint
 
bool UseMotor
 
Quaternion Max
 
float AngleRange
 

Properties

virtual float DeltaMagic [get]