unreal.ConstraintInstance

class unreal.ConstraintInstance

Bases: unreal.StructBase

Container for a physics representation of an object.

C++ Source:

  • Module: Engine
  • File: ConstraintInstance.h

Editor Properties: (see get_editor_property/set_editor_property)

  • angular_rotation_offset (Rotator): [Read-Write] Specifies the angular offset between the two frames of reference. By default limit goes from (-Angle, +Angle) This allows you to bias the limit for swing1 swing2 and twist.
  • constraint_bone1 (Name): [Read-Write] Name of first bone (body) that this constraint is connecting. This will be the ‘child’ bone in a PhysicsAsset.
  • constraint_bone2 (Name): [Read-Write] Name of second bone (body) that this constraint is connecting. This will be the ‘parent’ bone in a PhysicsAset.
  • joint_name (Name): [Read-Only] Name of bone that this joint is associated with.
  • profile_instance (ConstraintProfileProperties): [Read-Write] Constraint Data (properties easily swapped at runtime based on different constraint profiles)
  • scale_linear_limits (bool): [Read-Write] If true, linear limits scale using the absolute min of the 3d scale of the owning component