14#ifndef PHYSXCONTROLLERDESC_H
15#define PHYSXCONTROLLERDESC_H
25class EXPCL_PANDAPHYSX PhysxControllerDesc {
27 virtual ~PhysxControllerDesc() {};
29 virtual void set_to_default() = 0;
30 virtual bool is_valid()
const = 0;
32 void set_pos(
const LPoint3f &pos);
45 virtual NxControllerDesc *ptr()
const = 0;
48 INLINE PhysxControllerDesc();
void set_step_offset(float setpOffset)
Defines the maximum height of an obstacle which the character can climb.
void set_skin_width(float skinWidth)
Sets the skin width used by the controller.
void set_pos(const LPoint3f &pos)
Set the position of the character.
bool get_interaction_flag() const
Returns the interaction flag.
float get_skin_width() const
Returns the skin width used by the controller.
void set_interaction_flag(bool interactionFlag)
The interaction flag controls if a character controller collides with other controllers.
float get_slope_limit() const
Returns the maximum slope which the character can walk up.
void set_slope_limit(float slopeLimit)
Sets 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.
LPoint3f get_pos() const
Returns the position of the character.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.