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. More... | |
float | get_radius () const |
The radius of the capsule's hemispherical ends and its trunk. More... | |
bool | is_valid () const |
Returns true if the descriptor is valid. More... | |
NxControllerDesc * | ptr () const |
void | set_height (float height) |
Sets the distance between the two hemispherical ends of the capsule. More... | |
void | set_radius (float radius) |
Sets the radius of the capsule's hemispherical ends and its trunk. More... | |
void | set_to_default () |
(re)sets the structure to the default. More... | |
![]() | |
bool | get_interaction_flag () const |
Returns the interaction flag. More... | |
LPoint3f | get_pos () const |
Returns the position of the character. More... | |
float | get_skin_width () const |
Returns the skin width used by the controller. More... | |
float | get_slope_limit () const |
Returns the maximum slope which the character can walk up. More... | |
float | get_step_offset () const |
Returns the maximum height of an obstacle which the character can climb. More... | |
void | set_interaction_flag (bool interactionFlag) |
The interaction flag controls if a character controller collides with other controllers. More... | |
void | set_pos (const LPoint3f &pos) |
Set the position of the character. More... | |
void | set_skin_width (float skinWidth) |
Sets the skin width used by the controller. More... | |
void | set_slope_limit (float slopeLimit) |
Sets the maximum slope which the character can walk up. More... | |
void | set_step_offset (float setpOffset) |
Defines the maximum height of an obstacle which the character can climb. More... | |
Public Attributes | |
NxCapsuleControllerDesc | _desc |
Descriptor class for PhysxCapsuleController.
Definition at line 25 of file physxCapsuleControllerDesc.h.
float PhysxCapsuleControllerDesc::get_height | ( | ) | const |
The distance between the two hemispherical ends of the capsule.
Definition at line 47 of file physxCapsuleControllerDesc.cxx.
float PhysxCapsuleControllerDesc::get_radius | ( | ) | const |
The radius of the capsule's hemispherical ends and its trunk.
Definition at line 38 of file physxCapsuleControllerDesc.cxx.
|
inlinevirtual |
Returns true if the descriptor is valid.
Implements PhysxControllerDesc.
Definition at line 44 of file physxCapsuleControllerDesc.I.
void PhysxCapsuleControllerDesc::set_height | ( | float | height | ) |
Sets the distance between the two hemispherical ends of the capsule.
Definition at line 29 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 20 of file physxCapsuleControllerDesc.cxx.
|
inlinevirtual |
(re)sets the structure to the default.
Implements PhysxControllerDesc.
Definition at line 35 of file physxCapsuleControllerDesc.I.