RB_ConstraintSetup¶
Class in Engine · Engine.RB_ConstraintSetup · native
Object › RB_ConstraintSetup
Subclasses: RB_BSJointSetup, RB_DistanceJointSetup, RB_HingeSetup, RB_PrismaticSetup, RB_PulleyJointSetup, RB_SkelJointSetup, RB_StayUprightSetup
Using it from Lua
Structs¶
LinearDOFSetup
| Field | Type |
|---|---|
bLimited | byte |
LimitSize | float |
Defaults
bLimited=1
LimitSize=0.0Properties¶
| Name | Type | Notes |
|---|---|---|
AngularBreakThreshold | float | |
bAngularBreakable | bool | |
bEnableProjection | bool | |
bIsPulley | bool | |
bLinearBreakable | bool | |
bLinearLimitSoft | bool | |
bMaintainMinDistance | bool | |
bSwingLimited | bool | |
bSwingLimitSoft | bool | |
bTwistLimited | bool | |
bTwistLimitSoft | bool | |
ConstraintBone1 | name | |
ConstraintBone2 | name | |
JointName | name | const |
LinearBreakThreshold | float | |
LinearLimitDamping | float | |
LinearLimitStiffness | float | |
LinearXSetup | LinearDOFSetup | |
LinearYSetup | LinearDOFSetup | |
LinearZSetup | LinearDOFSetup | |
Pos1 | vector | |
Pos2 | vector | |
PriAxis1 | vector | |
PriAxis2 | vector | |
PulleyPivot1 | vector | |
PulleyPivot2 | vector | |
PulleyRatio | float | |
SecAxis1 | vector | |
SecAxis2 | vector | |
Swing1LimitAngle | float | |
Swing2LimitAngle | float | |
SwingLimitDamping | float | |
SwingLimitStiffness | float | |
TwistLimitAngle | float | |
TwistLimitDamping | float | |
TwistLimitStiffness | float |
Default values¶
Pos1=(X=0,Y=0,Z=0)
PriAxis1=(X=1,Y=0,Z=0)
SecAxis1=(X=0,Y=1,Z=0)
Pos2=(X=0,Y=0,Z=0)
PriAxis2=(X=1,Y=0,Z=0)
SecAxis2=(X=0,Y=1,Z=0)
LinearBreakThreshold=300.0
AngularBreakThreshold=500.0
PulleyRatio=1.0
Inherited¶
| From | Members |
|---|---|
| Object | 13 properties, 308 functions |