Panda3D
Public Member Functions | Static Public Member Functions
PhysxForceField Class Reference

A force field effector. More...

#include "physxForceField.h"

Inheritance diagram for PhysxForceField:
PhysxObject TypedReferenceCount TypedObject ReferenceCount MemoryBase MemoryBase

List of all members.

Public Member Functions

virtual TypeHandle force_init_type ()
PhysxForceFieldShapeGroupget_include_shape_group () const
const char * get_name () const
unsigned int get_num_shape_groups () const
PhysxSceneget_scene () const
PhysxForceFieldShapeGroupget_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.

Detailed Description

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.


Member Function Documentation

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().


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations