unreal.ConstraintProfileProperties

class unreal.ConstraintProfileProperties

Bases: unreal.StructBase

Container for properties of a physics constraint that can be easily swapped at runtime. This is useful for switching different setups when going from ragdoll to standup for example

C++ Source:

  • Module: Engine
  • File: ConstraintInstance.h

Editor Properties: (see get_editor_property/set_editor_property)

  • angular_break_threshold (float): [Read-Write] Torque needed to break the joint.
  • angular_breakable (bool): [Read-Write] Whether it is possible to break the joint with angular force.
  • angular_drive (AngularDriveConstraint): [Read-Write] Angular Drive
  • cone_limit (ConeConstraint): [Read-Write] Cone Limit
  • disable_collision (bool): [Read-Write] Disable collision between bodies joined by this constraint.
  • enable_projection (bool): [Read-Write] If distance error between bodies exceeds 0.1 units, or rotation error exceeds 10 degrees, body will be projected to fix this. For example a chain spinning too fast will have its elements appear detached due to velocity, this will project all bodies so they still appear attached to each other.
  • linear_break_threshold (float): [Read-Write] Force needed to break the distance constraint.
  • linear_breakable (bool): [Read-Write] Whether it is possible to break the joint with linear force.
  • linear_drive (LinearDriveConstraint): [Read-Write] Linear Drive
  • linear_limit (LinearConstraint): [Read-Write] Linear Limit
  • parent_dominates (bool): [Read-Write] When set, the parent body in a constraint will not be affected by the motion of the child
  • projection_angular_tolerance (float): [Read-Write] Angular tolerance value in world units. If the distance error exceeds this tolerence limit, the body will be projected.
  • projection_linear_tolerance (float): [Read-Write] Linear tolerance value in world units. If the distance error exceeds this tolerence limit, the body will be projected.
  • twist_limit (TwistConstraint): [Read-Write] Twist Limit