#include <physicsManager.h>
Private Member Functions | |
PT (LinearIntegrator) _linear_integrator | |
PT (AngularIntegrator) _angular_integrator | |
virtual | ~PhysicsManager (void) |
INLINE void | attach_linear_integrator (LinearIntegrator *i) |
INLINE void | attach_angular_integrator (AngularIntegrator *i) |
INLINE void | attach_physical (Physical *p) |
INLINE void | attach_physicalnode (PhysicalNode *p) |
INLINE void | add_linear_force (LinearForce *f) |
INLINE void | add_angular_force (AngularForce *f) |
INLINE void | clear_linear_forces (void) |
INLINE void | clear_angular_forces (void) |
INLINE void | clear_physicals (void) |
void | remove_physical (Physical *p) |
void | remove_linear_force (LinearForce *f) |
void | remove_angular_force (AngularForce *f) |
void | do_physics (float dt) |
Private Attributes | |
pvector< Physical * > | _physicals |
pvector< PT(LinearForce) | _linear_forces ) |
pvector< PT(AngularForce) | _angular_forces ) |
PUBLISHED | __pad0__: PhysicsManager(void) |
Friends | |
class | Physical |
|
Definition at line 43 of file physicsManager.cxx. |
|
|
|
Referenced by event_add_particles(). |
|
|
|
Referenced by event_add_particles(). |
|
Referenced by event_add_particles(), main(), and ParticleSystem::spawn_child_system(). |
|
|
|
|
|
|
|
|
|
Definition at line 106 of file physicsManager.cxx. References _angular_forces, _linear_forces, _physicals, ActorNode::get_class_type(), Physical::get_physical_node(), TypedObject::is_of_type(), and ActorNode::update_transform(). Referenced by event_csn_update(), and main(). |
|
|
|
Referenced by remove_angular_force(), and remove_linear_force(). |
|
Definition at line 70 of file physicsManager.cxx. References _angular_forces, and PT(). |
|
Definition at line 52 of file physicsManager.cxx. References _linear_forces, and PT(). |
|
Definition at line 88 of file physicsManager.cxx. References _physicals, NULL, and p. Referenced by main(), and Physical::~Physical(). |
|
Definition at line 77 of file physicsManager.h. |
|
Definition at line 58 of file physicsManager.h. |
|
Definition at line 52 of file physicsManager.h. Referenced by do_physics(), and remove_angular_force(). |
|
Definition at line 51 of file physicsManager.h. Referenced by do_physics(), and remove_linear_force(). |
|
Definition at line 50 of file physicsManager.h. Referenced by do_physics(), and remove_physical(). |