The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE2:KarmaParamsCollision (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> KarmaParamsCollision
Package: 
Engine
Direct subclass:
KarmaParams
This class in other games:
UE2Runtime, U2, UT2003

The Karma Collision parameters class. This provides 'extra' parameters needed to create Karma collision for this Actor. You can _only_ turn on collision, not dynamics. NB: All parameters are in KARMA scale!

Properties[edit]

Property group 'KarmaParamsCollision'[edit]

KFriction[edit]

Type: float

Multiplied pairwise to get contact friction

KImpactThreshold[edit]

Type: float

threshold velocity magnitude to call KImpact event

Default value: 1000000.0

KRestitution[edit]

Type: float

'Bouncy-ness' - Normally between 0 and 1. Multiplied pairwise to get contact restitution.

Internal variables[edit]

bContactingLevel[edit]

Type: bool

Modifiers: const


ContactRegionCenter[edit]

Type: Object.Vector

Modifiers: const


ContactRegionNormal[edit]

Type: Object.Vector

Modifiers: const


ContactRegionNormalForce[edit]

Type: float

Modifiers: const


ContactRegionRadius[edit]

Type: float

Modifiers: const


KAcceleration[edit]

Type: Object.Vector

Instantaneous acceleration.

KarmaData[edit]

Type: pointer

Modifiers: const, transient


KScale[edit]

Type: float

Modifiers: const

Usually kept in sync with actor's DrawScale, this is how much to scale moi/com-offset (but not mass!)

Default value: 1.0

KScale3D[edit]

Type: Object.Vector

Modifiers: const


Default value:

Member Value
X 1.0
Y 1.0
Z 1.0

Native functions[edit]

CalcContactRegion[edit]

native function CalcContactRegion ()