BulletConeTwistConstraint

class BulletConeTwistConstraint

Bases: BulletConstraint

Inheritance diagram

Inheritance diagram of BulletConeTwistConstraint

explicit BulletConeTwistConstraint(BulletRigidBodyNode const *node_a, TransformState const *frame_a)
explicit BulletConeTwistConstraint(BulletRigidBodyNode const *node_a, BulletRigidBodyNode const *node_b, TransformState const *frame_a, TransformState const *frame_b)
void enable_motor(bool enable)
static TypeHandle get_class_type(void)
PN_stdfloat get_fix_threshold(void) const
ConstPointerTo<TransformState> get_frame_a(void) const
ConstPointerTo<TransformState> get_frame_b(void) const
void set_damping(PN_stdfloat damping)
void set_fix_threshold(PN_stdfloat threshold)
void set_frames(TransformState const *ts_a, TransformState const *ts_b)
void set_limit(int index, PN_stdfloat value)
void set_limit(PN_stdfloat swing1, PN_stdfloat swing2, PN_stdfloat twist, PN_stdfloat softness = 1.0, PN_stdfloat bias = 0.30000000000000007, PN_stdfloat relaxation = 1.0)
void set_max_motor_impulse(PN_stdfloat max_impulse)
void set_max_motor_impulse_normalized(PN_stdfloat max_impulse)
void set_motor_target(LQuaternion const &quat)
void set_motor_target_in_constraint_space(LQuaternion const &quat)