unreal.ConstraintInstance
¶
- class unreal.ConstraintInstance¶
Bases:
ConstraintInstanceBase
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] Angular Rotation Offset: 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] Constraint Bone 1: Name of first bone (body) that this constraint is connecting. This will be the ‘child’ bone in a PhysicsAsset.constraint_bone2
(Name): [Read-Write] Constraint Bone 2: Name of second bone (body) that this constraint is connecting. This will be the ‘parent’ bone in a PhysicsAset.joint_name
(Name): [Read-Only] Joint Name: Name of bone that this joint is associated with.pos1
(Vector): [Read-Write] Pos 1: Location of constraint in Body1 reference frame (usually the “child” body for skeletal meshes).pos2
(Vector): [Read-Write] Pos 2: Location of constraint in Body2 reference frame (usually the “parent” body for skeletal meshes).pri_axis1
(Vector): [Read-Write] Pri Axis 1: Primary (twist) axis in Body1 reference frame.pri_axis2
(Vector): [Read-Write] Pri Axis 2: Primary (twist) axis in Body2 reference frame.profile_instance
(ConstraintProfileProperties): [Read-Write] Profile Instance: Constraint Data (properties easily swapped at runtime based on different constraint profiles)scale_linear_limits
(bool): [Read-Write] Scale Linear Limits: If true, linear limits scale using the absolute min of the 3d scale of the owning componentsec_axis1
(Vector): [Read-Write] Sec Axis 1: Secondary axis in Body1 reference frame. Orthogonal to PriAxis1.sec_axis2
(Vector): [Read-Write] Sec Axis 2: Secondary axis in Body2 reference frame. Orthogonal to PriAxis2.