A force that lives in the scene graph and is therefore subject to local coordinate systems. More...
Public Member Functions | |
ForceNode (string name) | |
default constructor | |
addForce (BaseForce force) | |
addForcesFrom (ForceNode const other) | |
append operation | |
clear () | |
BaseForce | getForce (int index) |
list | getForces () |
int | getNumForces () |
removeForce (BaseForce f) | |
remove operation | |
removeForce (int index) | |
remove operation | |
write (ostream out, unsigned int indent) | |
Write a string representation of this instance to <out>. | |
write (ostream out) | |
Write a string representation of this instance to <out>. | |
writeForces (ostream out, unsigned int indent) | |
Write a string representation of this instance to <out>. | |
writeForces (ostream out) | |
Write a string representation of this instance to <out>. | |
Static Public Member Functions | |
static TypeHandle | getClassType () |
A force that lives in the scene graph and is therefore subject to local coordinate systems.
An example of this would be simulating gravity in a rotating space station. or something.
ForceNode | ( | string | name | ) |
default constructor
addForcesFrom | ( | ForceNode const | other | ) |
append operation
clear | ( | ) |
static TypeHandle getClassType | ( | ) | [static] |
list getForces | ( | ) |
int getNumForces | ( | ) |
removeForce | ( | BaseForce | f | ) |
remove operation
removeForce | ( | int | index | ) |
remove operation
write | ( | ostream | out, |
unsigned int | indent | ||
) |
Write a string representation of this instance to <out>.
write | ( | ostream | out | ) |
Write a string representation of this instance to <out>.
writeForces | ( | ostream | out, |
unsigned int | indent | ||
) |
Write a string representation of this instance to <out>.
writeForces | ( | ostream | out | ) |
Write a string representation of this instance to <out>.