BulletConstraint

from panda3d.bullet import BulletConstraint
class BulletConstraint

Bases:

Bases: TypedReferenceCount

Inheritance diagram

Inheritance diagram of BulletConstraint

enum ConstraintParam
enumerator CP_erp = 1
enumerator CP_stop_erp = 2
enumerator CP_cfm = 3
enumerator CP_stop_cfm = 4
property applied_impulse float
property breaking_threshold float
Getter

Returns the applied impluse limit for breaking the constraint.

Setter

Sets the applied impulse limit for breaking the constraint. If the limit is exceeded the constraint will be disabled. Disabled constraints are not removed from the world, and can be re-enabled.

property debug_draw_size float
enableFeedback(value: bool)
property enabled bool
Getter

Returns TRUE if the constraint is enabled.

Setter

getAppliedImpulse() float
getBreakingThreshold() float

Returns the applied impluse limit for breaking the constraint.

static getClassType() panda3d.core.TypeHandle
getDebugDrawSize() float
getParam(num: ConstraintParam, axis: int) float
getRigidBodyA() BulletRigidBodyNode
getRigidBodyB() BulletRigidBodyNode
isEnabled() bool

Returns TRUE if the constraint is enabled.

property rigid_body_a BulletRigidBodyNode
property rigid_body_b BulletRigidBodyNode
setBreakingThreshold(threshold: float)

Sets the applied impulse limit for breaking the constraint. If the limit is exceeded the constraint will be disabled. Disabled constraints are not removed from the world, and can be re-enabled.

setDebugDrawSize(size: float)
setEnabled(enabled: bool)
setParam(num: ConstraintParam, value: float, axis: int)