UE2:KarmaParamsCollision (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to navigation Jump to search
UT2004 Object >> KarmaParamsCollision
Package: 
Engine

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

Property group 'KarmaParamsCollision'

KFriction

Type: float

Multiplied pairwise to get contact friction

KImpactThreshold

Type: float

threshold velocity magnitude to call KImpact event

Default value: 1000000.0

KRestitution

Type: float

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

Internal variables

bContactingLevel

Type: bool

Modifiers: const


ContactRegionCenter

Type: Object.Vector

Modifiers: const


ContactRegionNormal

Type: Object.Vector

Modifiers: const


ContactRegionNormalForce

Type: float

Modifiers: const


ContactRegionRadius

Type: float

Modifiers: const


KAcceleration

Type: Object.Vector

Instantaneous acceleration.

KarmaData

Type: pointer

Modifiers: const, transient


KScale

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

Type: Object.Vector

Modifiers: const


Default value:

Member Value
X 1.0
Y 1.0
Z 1.0

Native functions

CalcContactRegion

native function CalcContactRegion ()