UniformGravity Class Reference
A uniform gravitational force applied to every body in the system.
More...
#include <Force.h>
List of all members.
Detailed Description
A uniform gravitational force applied to every body in the system.
The force is specified by a vector in the Ground frame. You can optionally specify a height at which the gravitational potential energy is zero.
Constructor & Destructor Documentation
Member Function Documentation
Vec3 getGravity |
( |
|
) |
const |
Real getZeroHeight |
( |
|
) |
const |
void setGravity |
( |
const Vec3 & |
g |
) |
|
void setZeroHeight |
( |
Real |
height |
) |
|
The documentation for this class was generated from the following file: