VisimBox 1.0 VisimBox 3d simulation and visualisation ToolBox

- Main Page
- Packages
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Protected Attributes
VisimBox.Physics.GravityForceGenerator Class Reference

Constant gravity generator. More...

Inheritance diagram for VisimBox.Physics.GravityForceGenerator:

List of all members.

## Public Member Functions
| GravityForceGenerator (Vector3 gravity)
| Create with gravity vector (default should be (0,0,-9.81)
virtual void | Update (RigidBody node, float time)
| Update node by time.
## Protected Attributes
Vector3 | Gravity

## Detailed Description

Constant gravity generator.

## Constructor & Destructor Documentation

VisimBox.Physics.GravityForceGenerator.GravityForceGenerator | ( | Vector3 | gravity | ) |

Create with gravity vector (default should be (0,0,-9.81)

Parameters:

  gravity | Gravity vector

## Member Function Documentation

virtual void VisimBox.Physics.GravityForceGenerator.Update | ( | RigidBody | node,
|  | float | time
| ) |  | `[virtual]`

Update node by time.

Parameters:

  node | node
  time | elapsed time

Implements VisimBox.Physics.IForceGenerator.

## Member Data Documentation

Vector3 VisimBox.Physics.GravityForceGenerator.Gravity`[protected]`

The documentation for this class was generated from the following file:

- ForceGenerator.cs

All Classes Namespaces Files Functions Variables Enumerations Properties Events