C# Class Nez.SpringGrid.PointMass

Show file Open project: prime31/Nez

Public Properties

Property Type Description
inverseMass float
position Vector3
velocity Vector3

Public Methods

Method Description
PointMass ( Vector3 position, float invMass ) : System.Collections.Generic
applyForce ( Vector3 force ) : void
increaseDamping ( float factor ) : void
update ( ) : void

Method Details

PointMass() public method

public PointMass ( Vector3 position, float invMass ) : System.Collections.Generic
position Vector3
invMass float
return System.Collections.Generic

applyForce() public method

public applyForce ( Vector3 force ) : void
force Vector3
return void

increaseDamping() public method

public increaseDamping ( float factor ) : void
factor float
return void

update() public method

public update ( ) : void
return void

Property Details

inverseMass public property

public float inverseMass
return float

position public property

public Vector3 position
return Vector3

velocity public property

public Vector3 velocity
return Vector3