There is no spoon
UE3:RB_ConstraintSetup (UT3)
Object >> RB_ConstraintSetup |
Contents
- 1 Properties
- 1.1 Property group 'Angular'
- 1.1.1 AngularBreakThreshold
- 1.1.2 bAngularBreakable
- 1.1.3 bSwingLimited
- 1.1.4 bSwingLimitSoft
- 1.1.5 bTwistLimited
- 1.1.6 bTwistLimitSoft
- 1.1.7 Swing1LimitAngle
- 1.1.8 Swing2LimitAngle
- 1.1.9 SwingLimitDamping
- 1.1.10 SwingLimitStiffness
- 1.1.11 TwistLimitAngle
- 1.1.12 TwistLimitDamping
- 1.1.13 TwistLimitStiffness
- 1.2 Property group 'Linear'
- 1.3 Property group 'Pulley'
- 1.4 Property group 'RB_ConstraintSetup'
- 1.5 Internal variables
- 1.1 Property group 'Angular'
- 2 Structs
- Package:
- Engine
- Direct subclasses:
- RB_DistanceJointSetup, RB_BSJointSetup, RB_HingeSetup, RB_PrismaticSetup, RB_PulleyJointSetup, RB_SkelJointSetup, RB_StayUprightSetup
- This class in other games:
- UDK
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Complete constraint definition used by rigid body physics.
Defaults here will give you a ball and socket joint. Positions are in Physics scale. When adding stuff here, make sure to update URB_ConstraintSetup::CopyConstraintParamsFrom Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.
Properties
Property group 'Angular'
AngularBreakThreshold
Type: float
Default value: 500.0
bAngularBreakable
Type: bool
bSwingLimited
Type: bool
bSwingLimitSoft
Type: bool
bTwistLimited
Type: bool
bTwistLimitSoft
Type: bool
Swing1LimitAngle
Type: float
Used if bSwing1Limited is true. In degrees.
Swing2LimitAngle
Type: float
Used if bSwing2Limited is true. In degrees.
SwingLimitDamping
Type: float
SwingLimitStiffness
Type: float
TwistLimitAngle
Type: float
Used if bTwistLimited is true. In degrees.
TwistLimitDamping
Type: float
TwistLimitStiffness
Type: float
Property group 'Linear'
bLinearBreakable
Type: bool
bLinearLimitSoft
Type: bool
LinearBreakThreshold
Type: float
Default value: 300.0
LinearLimitDamping
Type: float
LinearLimitStiffness
Type: float
LinearXSetup
Type: LinearDOFSetup
Default value:
Member | Value |
---|---|
bLimited | 1 |
LinearYSetup
Type: LinearDOFSetup
Default value:
Member | Value |
---|---|
bLimited | 1 |
LinearZSetup
Type: LinearDOFSetup
Default value:
Member | Value |
---|---|
bLimited | 1 |
Property group 'Pulley'
bIsPulley
Type: bool
bMaintainMinDistance
Type: bool
PulleyRatio
Type: float
Default value: 1.0
Property group 'RB_ConstraintSetup'
ConstraintBone1
Type: name
Name of first bone (body) that this constraint is connecting. This will be the 'child' bone in a PhysicsAsset.
ConstraintBone2
Type: name
Name of second bone (body) that this constraint is connecting. This will be the 'parent' bone in a PhysicsAset.
JointName
Type: name
Modifiers: const
Name of bone that this joint is associated with.
Internal variables
Pos1
Type: Object.Vector
Location of constraint in Body1 reference frame. Physics scale.
Pos2
Type: Object.Vector
Location of constraint in Body2 reference frame. Physics scale.
PriAxis1
Type: Object.Vector
Primary (twist) axis in Body1 reference frame.
Default value:
Member | Value |
---|---|
000000,Y | |
000000,Z | |
X | 1.0 |
PriAxis2
Type: Object.Vector
Primary (twist) axis in Body2 reference frame.
Default value:
Member | Value |
---|---|
000000,Y | |
000000,Z | |
X | 1.0 |
PulleyPivot1
Type: Object.Vector
PulleyPivot2
Type: Object.Vector
SecAxis1
Type: Object.Vector
Seconday axis in Body1 reference frame. Orthogonal to PriAxis1.
Default value:
Member | Value |
---|---|
000000,Y | |
000000,Z | |
X | 0.0 |
SecAxis2
Type: Object.Vector
Seconday axis in Body2 reference frame. Orthogonal to PriAxis2.
Default value:
Member | Value |
---|---|
000000,Y | |
000000,Z | |
X | 0.0 |
Structs
LinearDOFSetup
Modifiers: native
Struct specying one Linear Degree Of Freedom for this constraint. Defaults to a ball-and-socket joint.
- byte bLimited
- Whether this DOF has any limit on it.
- float LimitSize
- 'Half-length' of limit gap. Can shift it by fiddling Pos1/2.
A size of 0.0 results in 'locking' the linear DOF.
Default values:
Property | Value |
---|---|
bLimited | 1 |
LimitSize | 0.0 |