I love the smell of UnrealEd crashing in the morning. – tarquin

UE2:KConstraint (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2XMP Object >> Actor >> KActor >> KConstraint
Package: 
Engine
Direct subclasses:
KBSJoint, KCarWheelJoint, KConeLimit, KHinge
This class in other games:
U2, 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


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
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)