|
Panda3D
|
Descriptor class for PhysxCapsuleController. More...
#include "physxCapsuleControllerDesc.h"
Public Member Functions | |
| float | get_height () const |
| The distance between the two hemispherical ends of the capsule. | |
| float | get_radius () const |
| The radius of the capsule's hemispherical ends and its trunk. | |
| bool | is_valid () const |
| Returns true if the descriptor is valid. | |
| NxControllerDesc * | ptr () const |
| void | set_height (float height) |
| Sets the distance between the two hemispherical ends of the capsule. | |
| void | set_radius (float radius) |
| Sets the radius of the capsule's hemispherical ends and its trunk. | |
| void | set_to_default () |
| (re)sets the structure to the default. | |
Public Member Functions inherited from PhysxControllerDesc | |
| bool | get_interaction_flag () const |
| Returns the interaction flag. | |
| LPoint3f | get_pos () const |
| Returns the position of the character. | |
| float | get_skin_width () const |
| Returns the skin width used by the controller. | |
| float | get_slope_limit () const |
| Returns the maximum slope which the character can walk up. | |
| float | get_step_offset () const |
| Returns the maximum height of an obstacle which the character can climb. | |
| void | set_interaction_flag (bool interactionFlag) |
| The interaction flag controls if a character controller collides with other controllers. | |
| void | set_pos (const LPoint3f &pos) |
| Set the position of the character. | |
| void | set_skin_width (float skinWidth) |
| Sets the skin width used by the controller. | |
| void | set_slope_limit (float slopeLimit) |
| Sets the maximum slope which the character can walk up. | |
| void | set_step_offset (float setpOffset) |
| Defines the maximum height of an obstacle which the character can climb. | |
Public Attributes | |
| NxCapsuleControllerDesc | _desc |
Descriptor class for PhysxCapsuleController.
Definition at line 25 of file physxCapsuleControllerDesc.h.
|
inline |
Definition at line 17 of file physxCapsuleControllerDesc.I.
|
inline |
Definition at line 26 of file physxCapsuleControllerDesc.I.
| float PhysxCapsuleControllerDesc::get_height | ( | ) | const |
The distance between the two hemispherical ends of the capsule.
Definition at line 46 of file physxCapsuleControllerDesc.cxx.
| float PhysxCapsuleControllerDesc::get_radius | ( | ) | const |
The radius of the capsule's hemispherical ends and its trunk.
Definition at line 37 of file physxCapsuleControllerDesc.cxx.
|
inlinevirtual |
Returns true if the descriptor is valid.
Implements PhysxControllerDesc.
Definition at line 43 of file physxCapsuleControllerDesc.I.
|
inlinevirtual |
Implements PhysxControllerDesc.
Definition at line 41 of file physxCapsuleControllerDesc.h.
| void PhysxCapsuleControllerDesc::set_height | ( | float | height | ) |
Sets the distance between the two hemispherical ends of the capsule.
Definition at line 28 of file physxCapsuleControllerDesc.cxx.
| void PhysxCapsuleControllerDesc::set_radius | ( | float | radius | ) |
Sets the radius of the capsule's hemispherical ends and its trunk.
Definition at line 19 of file physxCapsuleControllerDesc.cxx.
|
inlinevirtual |
(re)sets the structure to the default.
Implements PhysxControllerDesc.
Definition at line 34 of file physxCapsuleControllerDesc.I.
| NxCapsuleControllerDesc PhysxCapsuleControllerDesc::_desc |
Definition at line 42 of file physxCapsuleControllerDesc.h.