I'm a doctor, not a mechanic

UE2:KConstraint (U2)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2 Object >> Actor >> KActor >> KConstraint
Package: 
Engine
Direct subclasses:
KBSJoint, KCarWheelJoint, KConeLimit, KHinge
This class in other games:
U2XMP, UE2Runtime, UT2004, UT2003

The Basic constraint class.

Properties[edit]

Property group 'KarmaConstraint'[edit]

bKDisableCollision[edit]

Type: bool

Modifiers: const


Default value: True

KConstraintActor1[edit]

Type: Actor

Modifiers: edfindable


KConstraintActor2[edit]

Type: Actor

Modifiers: edfindable


KConstraintBone1[edit]

Type: name


KConstraintBone2[edit]

Type: name


KForceThreshold[edit]

Type: float


Internal variables[edit]

bKForceFrameUpdate[edit]

Type: bool

Modifiers: const


KConstraintData[edit]

Type: int

Modifiers: transient, const


KPos1[edit]

Type: Object.Vector


KPos2[edit]

Type: Object.Vector


KPriAxis1[edit]

Type: Object.Vector


Default value:

Member Value
X 1.0

KPriAxis2[edit]

Type: Object.Vector


Default value:

Member Value
X 1.0

KSecAxis1[edit]

Type: Object.Vector


Default value:

Member Value
Y 1.0

KSecAxis2[edit]

Type: Object.Vector


Default value:

Member Value
Y 1.0

Default values[edit]

Property Value
bBlockActors False
bBlockKarma False
bBlockPlayers False
bCollideActors False
bHidden True
bProjTarget False
DrawType DT_Sprite
Texture Texture'Engine.S_KConstraint'

Functions[edit]

Native functions[edit]

KGetConstraintForce[edit]

native final function KGetConstraintForce (out Object.Vector Force)


KGetConstraintTorque[edit]

native final function KGetConstraintTorque (out Object.Vector Torque)


KUpdateConstraintParams[edit]

native function KUpdateConstraintParams ()


Events[edit]

KForceExceed[edit]

event KForceExceed (float forceMag)