C# Class PhysicsObject, clockwork

Inheritance: MonoBehaviour
Afficher le fichier Open project: shadowseer99/clockwork Class Usage Examples

Méthodes publiques

Свойство Type Description
curAngularVelocity float
isMovable bool
isRotatable bool

Private Properties

Свойство Type Description
HandleColliders void

Méthodes publiques

Méthode 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

Méthode Description
HandleColliders ( ) : void

Resets radius/area, based off of the collider values

Method Details

GetVelAtPoint() public méthode

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

Move() public méthode

public Move ( ) : void
Résultat void

PhysicsUpdate() public méthode

public PhysicsUpdate ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

curAngularVelocity public_oe property

public float curAngularVelocity
Résultat float

isMovable public_oe property

public bool isMovable
Résultat bool

isRotatable public_oe property

public bool isRotatable
Résultat bool