panda3d.bullet.BulletConeTwistConstraint

class BulletConeTwistConstraint

Bases: BulletConstraint

Inheritance diagram

Inheritance diagram of BulletConeTwistConstraint

__init__(node_a: BulletRigidBodyNode, node_b: BulletRigidBodyNode, frame_a: TransformState, frame_b: TransformState) → None
__init__(node_a: BulletRigidBodyNode, frame_a: TransformState) → None
enableMotor(enable: bool) → None
property fix_threshold

Getter Setter

Return type

float

property frame_a
Return type

ConstPointerTo_TransformState

property frame_b
Return type

ConstPointerTo_TransformState

static getClassType() → TypeHandle
Return type

TypeHandle

getFixThreshold() → float
getFrameA() → TransformState
Return type

TransformState

getFrameB() → TransformState
Return type

TransformState

setDamping(damping: float) → None
setFixThreshold(threshold: float) → None
setFrames(ts_a: TransformState, ts_b: TransformState) → None
setLimit(swing1: float, swing2: float, twist: float, softness: float, bias: float, relaxation: float) → None
setLimit(index: int, value: float) → None
setMaxMotorImpulse(max_impulse: float) → None
setMaxMotorImpulseNormalized(max_impulse: float) → None
setMotorTarget(quat: LQuaternion) → None
setMotorTargetInConstraintSpace(quat: LQuaternion) → None