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
enable_feedback(value: bool)
property enabled bool
Getter

Returns TRUE if the constraint is enabled.

Setter

get_applied_impulse() float
get_breaking_threshold() float

Returns the applied impluse limit for breaking the constraint.

static get_class_type() panda3d.core.TypeHandle
get_debug_draw_size() float
get_param(num: ConstraintParam, axis: int) float
get_rigid_body_a() BulletRigidBodyNode
get_rigid_body_b() BulletRigidBodyNode
is_enabled() bool

Returns TRUE if the constraint is enabled.

property rigid_body_a BulletRigidBodyNode
property rigid_body_b BulletRigidBodyNode
set_breaking_threshold(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.

set_debug_draw_size(size: float)
set_enabled(enabled: bool)
set_param(num: ConstraintParam, value: float, axis: int)