Property | Type | Description | |
---|---|---|---|
angularAcceleration | float | ||
curAngularVelocity | float | ||
isGolden | bool | ||
isMovable | bool | ||
mass | float | ||
maxAngularVelocity | float | ||
momentOfIntertia | float |
Property | Type | Description | |
---|---|---|---|
radius | float |
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 |
public GetVelAtPoint ( Vector3 point ) : Vector3 | ||
point | Vector3 | |
return | Vector3 |
public OnTriggerEnter ( Collider coll ) : void | ||
coll | Collider | |
return | void |
public OnTriggerExit ( Collider coll ) : void | ||
coll | Collider | |
return | void |
public OnTriggerStay ( Collider coll ) : void | ||
coll | Collider | |
return | void |