Class in Zendir.Universe
| Inherits from UniverseModel
Declaration
class GravityModel;
Description
A Gravity Effector class is able to calculate the Gravity
at some location in respect to all of the bodies in the Universe that
are spawned.
Properties
Declared | Description |
---|
Acceleration | The local gravitational attraction |
Out_GravityMsg | The gravitational message that describes the gravitational energyand acceleration of the object. |
PotentialEnergy | The gravitational potential energy of the object |
Inherited | Description |
---|
IsEnabled | Is true if the object is currently enabled. |
Name | The display name or tag of this object. |
Parent | The currently attached parent object. |
Methods
Inherited | Description |
---|
Destroy | Removes the current object from the simulation. |
FindParentWithID | Returns an attached parent that satisfies the specified ID. |
FindParentWithType | Returns an attached parent that satisfies the specified type. |
FindRootWithID | Returns a root object that satisfies the specified ID. |
FindRootWithType | Returns a root object that satisfies the specified type. |