BulletConstraint

from acron.bullet import BulletConstraint
class BulletConstraint

Bases:

Bases: TypedReferenceCount

Inheritance diagram

digraph inheritance5fcacbf01c { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "BulletConstraint" [URL="acron.bullet.BulletConstraint.html#acron.bullet.BulletConstraint",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedReferenceCount" -> "BulletConstraint" [arrowsize=0.75,style=""]; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "ReferenceCount" [URL="acron.core.ReferenceCount.html#acron.core.ReferenceCount",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "ReferenceCount" [arrowsize=0.75,style=""]; "TypedObject" [URL="acron.core.TypedObject.html#acron.core.TypedObject",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "TypedObject" [arrowsize=0.75,style=""]; "TypedReferenceCount" [URL="acron.core.TypedReferenceCount.html#acron.core.TypedReferenceCount",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedObject" -> "TypedReferenceCount" [arrowsize=0.75,style=""]; "ReferenceCount" -> "TypedReferenceCount" [arrowsize=0.75,style=""]; }
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()
property enabled → bool
Getter

Returns TRUE if the constraint is enabled.

Setter

get_applied_impulse()
get_breaking_threshold()

Returns the applied impluse limit for breaking the constraint.

static get_class_type()
get_debug_draw_size()
get_param()
get_rigid_body_a()
get_rigid_body_b()
is_enabled()

Returns TRUE if the constraint is enabled.

property rigid_body_a → BulletRigidBodyNode
property rigid_body_b → BulletRigidBodyNode
set_breaking_threshold()

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()
set_enabled()
set_param()