C# Class PhysicsObject, clockwork

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

Public Properties

Property Type Description
curAngularVelocity float
isMovable bool
isRotatable bool

Private Properties

Property Type Description
HandleColliders void

Public Methods

Method Description
GetVelAtPoint ( Vector3 point ) : Vector3

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

Move ( ) : void
PhysicsUpdate ( ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
HandleColliders ( ) : void

Resets radius/area, based off of the collider values

Method Details

GetVelAtPoint() public method

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

Move() public method

public Move ( ) : void
return void

PhysicsUpdate() public method

public PhysicsUpdate ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

curAngularVelocity public property

public float curAngularVelocity
return float

isMovable public property

public bool isMovable
return bool

isRotatable public property

public bool isRotatable
return bool