BulletSliderConstraint

class BulletSliderConstraint

Bases: BulletConstraint

Inheritance diagram

Inheritance diagram of BulletSliderConstraint

explicit BulletSliderConstraint(BulletRigidBodyNode const *node_a, TransformState const *frame_a, bool useFrame_a)
explicit BulletSliderConstraint(BulletRigidBodyNode const *node_a, BulletRigidBodyNode const *node_b, TransformState const *frame_a, TransformState const *frame_b, bool use_frame_a)
PN_stdfloat get_angular_pos(void) const
static TypeHandle get_class_type(void)
ConstPointerTo<TransformState> get_frame_a(void) const
ConstPointerTo<TransformState> get_frame_b(void) const
PN_stdfloat get_linear_pos(void) const
PN_stdfloat get_lower_angular_limit(void) const
PN_stdfloat get_lower_linear_limit(void) const

Limits

Limits

PN_stdfloat get_max_angular_motor_force(void) const
PN_stdfloat get_max_linear_motor_force(void) const
bool get_powered_angular_motor(void) const
bool get_powered_linear_motor(void) const
PN_stdfloat get_target_angular_motor_velocity(void) const
PN_stdfloat get_target_linear_motor_velocity(void) const
PN_stdfloat get_upper_angular_limit(void) const
PN_stdfloat get_upper_linear_limit(void) const
void set_frames(TransformState const *ts_a, TransformState const *ts_b)

Frames

void set_lower_angular_limit(PN_stdfloat value)
void set_lower_linear_limit(PN_stdfloat value)
void set_max_angular_motor_force(PN_stdfloat max_force)
void set_max_linear_motor_force(PN_stdfloat max_force)
void set_powered_angular_motor(bool on)

Angular motor

Angular motor

void set_powered_linear_motor(bool on)

Linear motor

Linear motor

void set_target_angular_motor_velocity(PN_stdfloat target_velocity)
void set_target_linear_motor_velocity(PN_stdfloat target_velocity)
void set_upper_angular_limit(PN_stdfloat value)
void set_upper_linear_limit(PN_stdfloat value)