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

Box character controller. More...

#include "physxBoxController.h"

Inheritance diagram for PhysxBoxController:
PhysxController PhysxObject PhysxEnums TypedReferenceCount TypedObject ReferenceCount MemoryBase MemoryBase

List of all members.

Public Member Functions

virtual TypeHandle force_init_type ()
LVector3f get_extents () const
 Returns controller's extents.
virtual TypeHandle get_type () const
void link (NxController *controllerPtr)
NxController * ptr () const
void set_extents (const LVector3f &extents)
 Sets controller's extents.
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

Box character controller.

Definition at line 28 of file physxBoxController.h.


Member Function Documentation

Returns controller's extents.

Definition at line 80 of file physxBoxController.cxx.

References PhysxManager::nxVec3_to_vec3(), and LVector3f::zero().

static void PhysxBoxController::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 PhysxController.

Definition at line 52 of file physxBoxController.h.

References PhysxController::init_type().

void PhysxBoxController::set_extents ( const LVector3f extents)

Sets controller's extents.

Definition at line 68 of file physxBoxController.cxx.

References PhysxManager::vec3_to_nxVec3().


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