G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
FConstraintInstance Struct Reference

Container for a physics representation of an object. More...

Public Member Functions

Functions
void SetbScaleLinearLimits (bool Value)
 If true, linear limits scale using the absolute min of the 3d scale of the owning component.
FConstraintInstance & opAssign (FConstraintInstance Other)

Public Attributes

Angular
FRotator AngularRotationOffset
 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
FVector Pos1
 Location of constraint in Body1 reference frame (usually the "child" body for skeletal meshes).
FVector PriAxis1
 Primary (twist) axis in Body1 reference frame.
FVector SecAxis1
 Secondary axis in Body1 reference frame. Orthogonal to PriAxis1.
FName ConstraintBone1
 Name of first bone (body) that this constraint is connecting. This will be the 'child' bone in a PhysicsAsset.
FVector PriAxis2
 Primary (twist) axis in Body2 reference frame.
FVector SecAxis2
 Secondary axis in Body2 reference frame. Orthogonal to PriAxis2.
FName ConstraintBone2
 Name of second bone (body) that this constraint is connecting. This will be the 'parent' bone in a PhysicsAset.
FVector Pos2
 Location of constraint in Body2 reference frame (usually the "parent" body for skeletal meshes).
FConstraintProfileProperties ProfileInstance
 Constraint Data (properties easily swapped at runtime based on different constraint profiles).

Detailed Description

Container for a physics representation of an object.

Member Function Documentation

◆ opAssign()

◆ SetbScaleLinearLimits()

void SetbScaleLinearLimits ( bool Value)

If true, linear limits scale using the absolute min of the 3d scale of the owning component.

Member Data Documentation

◆ AngularRotationOffset

FRotator AngularRotationOffset

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.

◆ ConstraintBone1

FName ConstraintBone1

Name of first bone (body) that this constraint is connecting. This will be the 'child' bone in a PhysicsAsset.

◆ ConstraintBone2

FName ConstraintBone2

Name of second bone (body) that this constraint is connecting. This will be the 'parent' bone in a PhysicsAset.

◆ Pos1

FVector Pos1

Location of constraint in Body1 reference frame (usually the "child" body for skeletal meshes).

◆ Pos2

FVector Pos2

Location of constraint in Body2 reference frame (usually the "parent" body for skeletal meshes).

◆ PriAxis1

FVector PriAxis1

Primary (twist) axis in Body1 reference frame.

◆ PriAxis2

FVector PriAxis2

Primary (twist) axis in Body2 reference frame.

◆ ProfileInstance

Constraint Data (properties easily swapped at runtime based on different constraint profiles).

◆ SecAxis1

FVector SecAxis1

Secondary axis in Body1 reference frame. Orthogonal to PriAxis1.

◆ SecAxis2

FVector SecAxis2

Secondary axis in Body2 reference frame. Orthogonal to PriAxis2.