C# Class EnviroGear, clockwork

Inheritance: MonoBehaviour
Mostra file Open project: shadowseer99/clockwork Class Usage Examples

Public Properties

Property Type Description
angularAcceleration float
curAngularVelocity float
isGolden bool
isMovable bool
mass float
maxAngularVelocity float
momentOfIntertia float

Protected Properties

Property Type Description
radius float

Public Methods

Method Description
FixedUpdate ( ) : void
GetVelAtPoint ( Vector3 point ) : Vector3

Returns the speed of an object rotating around this gear at the given point.

OnTriggerEnter ( Collider coll ) : void
OnTriggerExit ( Collider coll ) : void
OnTriggerStay ( Collider coll ) : void
Start ( ) : void

Method Details

FixedUpdate() public method

public FixedUpdate ( ) : void
return void

GetVelAtPoint() public method

Returns the speed of an object rotating around this gear at the given point.
public GetVelAtPoint ( Vector3 point ) : Vector3
point Vector3
return Vector3

OnTriggerEnter() public method

public OnTriggerEnter ( Collider coll ) : void
coll Collider
return void

OnTriggerExit() public method

public OnTriggerExit ( Collider coll ) : void
coll Collider
return void

OnTriggerStay() public method

public OnTriggerStay ( Collider coll ) : void
coll Collider
return void

Start() public method

public Start ( ) : void
return void

Property Details

angularAcceleration public_oe property

public float angularAcceleration
return float

curAngularVelocity public_oe property

public float curAngularVelocity
return float

isGolden public_oe property

public bool isGolden
return bool

isMovable public_oe property

public bool isMovable
return bool

mass public_oe property

public float mass
return float

maxAngularVelocity public_oe property

public float maxAngularVelocity
return float

momentOfIntertia public_oe property

public float momentOfIntertia
return float

radius protected_oe property

protected float radius
return float