wHiteRabbiT-sTudio Framework
wHiteRabbiT.Unity.Simulation.Kinematics Class Reference
Inheritance diagram for wHiteRabbiT.Unity.Simulation.Kinematics:

Public Member Functions

void EnableSaveState (bool enabled)
 
void RestoreEnabled ()
 
void FixedUpdate ()
 
void OnCollisionEnter (Collision collision)
 
void OnCollisionStay (Collision collision)
 

Public Attributes

bool Flying
 
Vector3 Acceleration
 
Vector3 Speed
 
Vector3 Fext
 
float Bounce = 0.3f
 
float Friction = 0.1f
 
float SpeedLimit = 0.0f
 
float AngleGround = 30
 

Protected Member Functions

void CheckRigidBody ()
 

Protected Attributes

BaseCharacter _character
 
bool wasEnabled
 
bool _OnGround = false
 
bool _OnGround2 = false
 
Vector3 oldPos
 

Properties

BaseCharacter character [get]
 
bool OnGround [get]
 
SphereCollider sphereCollider [get]
 
Vector3 NextPosition [get]
 
float dotGround [get]
 

Member Function Documentation

void wHiteRabbiT.Unity.Simulation.Kinematics.CheckRigidBody ( )
protected
void wHiteRabbiT.Unity.Simulation.Kinematics.EnableSaveState ( bool  enabled)
void wHiteRabbiT.Unity.Simulation.Kinematics.FixedUpdate ( )
void wHiteRabbiT.Unity.Simulation.Kinematics.OnCollisionEnter ( Collision  collision)
void wHiteRabbiT.Unity.Simulation.Kinematics.OnCollisionStay ( Collision  collision)
void wHiteRabbiT.Unity.Simulation.Kinematics.RestoreEnabled ( )

Member Data Documentation

BaseCharacter wHiteRabbiT.Unity.Simulation.Kinematics._character
protected
bool wHiteRabbiT.Unity.Simulation.Kinematics._OnGround = false
protected
bool wHiteRabbiT.Unity.Simulation.Kinematics._OnGround2 = false
protected
Vector3 wHiteRabbiT.Unity.Simulation.Kinematics.Acceleration
float wHiteRabbiT.Unity.Simulation.Kinematics.AngleGround = 30
float wHiteRabbiT.Unity.Simulation.Kinematics.Bounce = 0.3f
Vector3 wHiteRabbiT.Unity.Simulation.Kinematics.Fext
bool wHiteRabbiT.Unity.Simulation.Kinematics.Flying
float wHiteRabbiT.Unity.Simulation.Kinematics.Friction = 0.1f
Vector3 wHiteRabbiT.Unity.Simulation.Kinematics.oldPos
protected
Vector3 wHiteRabbiT.Unity.Simulation.Kinematics.Speed
float wHiteRabbiT.Unity.Simulation.Kinematics.SpeedLimit = 0.0f
bool wHiteRabbiT.Unity.Simulation.Kinematics.wasEnabled
protected

Property Documentation

BaseCharacter wHiteRabbiT.Unity.Simulation.Kinematics.character
get
float wHiteRabbiT.Unity.Simulation.Kinematics.dotGround
get
Vector3 wHiteRabbiT.Unity.Simulation.Kinematics.NextPosition
get
bool wHiteRabbiT.Unity.Simulation.Kinematics.OnGround
get
SphereCollider wHiteRabbiT.Unity.Simulation.Kinematics.sphereCollider
getprotected

The documentation for this class was generated from the following file: