C# Class WaterBuoyancy.FloatingObject

Inheritance: UnityEngine.MonoBehaviour
ファイルを表示 Open project: dbrizov/Unity-WaterBuoyancy

Protected Methods

Method Description
Awake ( ) : void
FixedUpdate ( ) : void
OnDrawGizmos ( ) : void
OnTriggerEnter ( Collider other ) : void
OnTriggerExit ( Collider other ) : void

Private Methods

Method Description
CalculateMaxBuoyancyForce ( ) : Vector3
CutIntoVoxels ( ) : UnityEngine.Vector3[]

Method Details

Awake() protected method

protected Awake ( ) : void
return void

FixedUpdate() protected method

protected FixedUpdate ( ) : void
return void

OnDrawGizmos() protected method

protected OnDrawGizmos ( ) : void
return void

OnTriggerEnter() protected method

protected OnTriggerEnter ( Collider other ) : void
other UnityEngine.Collider
return void

OnTriggerExit() protected method

protected OnTriggerExit ( Collider other ) : void
other UnityEngine.Collider
return void