Panda3D
|
A force field effector. More...
#include "physxForceField.h"
Public Member Functions | |
virtual TypeHandle | force_init_type () |
PhysxForceFieldShapeGroup * | get_include_shape_group () const |
const char * | get_name () const |
unsigned int | get_num_shape_groups () const |
PhysxScene * | get_scene () const |
PhysxForceFieldShapeGroup * | get_shape_group (unsigned int idx) const |
virtual TypeHandle | get_type () const |
void | link (NxForceField *ptr) |
void | ls () const |
void | ls (ostream &out, int indent_level=0) const |
MAKE_SEQ (get_shape_groups, get_num_shape_groups, get_shape_group) | |
NxForceField * | ptr () const |
void | release () |
void | set_name (const char *name) |
void | unlink () |
Static Public Member Functions | |
static TypeHandle | get_class_type () |
static void | init_type () |
This function is declared non-inline to work around a compiler bug in g++ 2.96. |
A force field effector.
Instances of this object automate the application of forces onto rigid bodies, fluid, soft bodies and cloth. Force fields allow you to implement for example gusts of wind, dust devils, vacuum cleaners or anti-gravity zones.
Definition at line 37 of file physxForceField.h.
static void PhysxForceField::init_type | ( | ) | [inline, static] |
This function is declared non-inline to work around a compiler bug in g++ 2.96.
Making it inline seems to cause problems in the optimizer.
Reimplemented from PhysxObject.
Definition at line 78 of file physxForceField.h.
References PhysxObject::init_type().