The methods of the Mass class are listed below. For a complete list of Mass class members, see the Mass Members topic.
AddForce | Add an external force to be applied to the mass |
AddFriction | Add force caused due to friction |
ChangeEnergy | Add/Remove energy to the mass |
ClearValues | Reset mass to initial state |
EnforceLevelBoundary | Boundary checking |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) | Gets the Type of the current instance. |
KickBack | Force applied when the player hits something |
MoveObject | Move the player based on the controller inputs |
Rotate | Rotate the coordinate system |
SetPosition | Set this mass's position vectors |
ToString (inherited from Object) | Returns a String that represents the current Object. |
Update | Update the mass's position |
Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
Mass Class | DarkWynter.Engine.Physics Namespace