BulletConstraint

from panda3d.bullet import BulletConstraint
class BulletConstraint

Bases: TypedReferenceCount

Inheritance diagram

Inheritance diagram of BulletConstraint

CPCfm = 3
CPErp = 1
CPStopCfm = 4
CPStopErp = 2
CP_cfm = 3
CP_erp = 1
CP_stop_cfm = 4
CP_stop_erp = 2
__init__(*args, **kwargs)
applied_impulse
breaking_threshold
debug_draw_size
enableFeedback()

C++ Interface: enable_feedback(const BulletConstraint self, bool value)

/**

*/

enable_feedback()

C++ Interface: enable_feedback(const BulletConstraint self, bool value)

/**

*/

enabled
getAppliedImpulse()

C++ Interface: get_applied_impulse(BulletConstraint self)

/**

*/

getBreakingThreshold()

C++ Interface: get_breaking_threshold(BulletConstraint self)

/**
  • Returns the applied impluse limit for breaking the constraint.

*/

getClassType()

C++ Interface: get_class_type()

getDebugDrawSize()

C++ Interface: get_debug_draw_size(const BulletConstraint self)

/**

*/

getParam()

C++ Interface: get_param(const BulletConstraint self, int num, int axis)

/**

*/

getRigidBodyA()

C++ Interface: get_rigid_body_a(const BulletConstraint self)

/**

*/

getRigidBodyB()

C++ Interface: get_rigid_body_b(const BulletConstraint self)

/**

*/

get_applied_impulse()

C++ Interface: get_applied_impulse(BulletConstraint self)

/**

*/

get_breaking_threshold()

C++ Interface: get_breaking_threshold(BulletConstraint self)

/**
  • Returns the applied impluse limit for breaking the constraint.

*/

get_class_type()

C++ Interface: get_class_type()

get_debug_draw_size()

C++ Interface: get_debug_draw_size(const BulletConstraint self)

/**

*/

get_param()

C++ Interface: get_param(const BulletConstraint self, int num, int axis)

/**

*/

get_rigid_body_a()

C++ Interface: get_rigid_body_a(const BulletConstraint self)

/**

*/

get_rigid_body_b()

C++ Interface: get_rigid_body_b(const BulletConstraint self)

/**

*/

isEnabled()

C++ Interface: is_enabled(BulletConstraint self)

/**
  • Returns TRUE if the constraint is enabled.

*/

is_enabled()

C++ Interface: is_enabled(BulletConstraint self)

/**
  • Returns TRUE if the constraint is enabled.

*/

rigid_body_a
rigid_body_b
setBreakingThreshold()

C++ Interface: set_breaking_threshold(const BulletConstraint self, float 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.

*/

setDebugDrawSize()

C++ Interface: set_debug_draw_size(const BulletConstraint self, float size)

/**

*/

setEnabled()

C++ Interface: set_enabled(const BulletConstraint self, bool enabled)

/**

*/

setParam()

C++ Interface: set_param(const BulletConstraint self, int num, float value, int axis)

/**

*/

set_breaking_threshold()

C++ Interface: set_breaking_threshold(const BulletConstraint self, float 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()

C++ Interface: set_debug_draw_size(const BulletConstraint self, float size)

/**

*/

set_enabled()

C++ Interface: set_enabled(const BulletConstraint self, bool enabled)

/**

*/

set_param()

C++ Interface: set_param(const BulletConstraint self, int num, float value, int axis)

/**

*/