Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

UE2:KarmaParamsCollision (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
UT2004 Object >> KarmaParamsCollision

Contents

Package: 
Engine
Direct subclass:
KarmaParams
This class in other games:
U2, UE2Runtime, 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!

[edit] Properties

[edit] Property group 'KarmaParamsCollision'

[edit] KFriction

Type: float

Multiplied pairwise to get contact friction

[edit] KImpactThreshold

Type: float

threshold velocity magnitude to call KImpact event

Default value: 1000000.0

[edit] KRestitution

Type: float

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

[edit] Internal variables

[edit] bContactingLevel

Type: bool

Modifiers: const


[edit] ContactRegionCenter

Type: Object.Vector

Modifiers: const


[edit] ContactRegionNormal

Type: Object.Vector

Modifiers: const


[edit] ContactRegionNormalForce

Type: float

Modifiers: const


[edit] ContactRegionRadius

Type: float

Modifiers: const


[edit] KAcceleration

Type: Object.Vector

Instantaneous acceleration.

[edit] KarmaData

Type: pointer

Modifiers: const, transient


[edit] 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

[edit] KScale3D

Type: Object.Vector

Modifiers: const


Default value:

Member Value
X 1.0
Y 1.0
Z 1.0

[edit] Native functions

[edit] CalcContactRegion

native function CalcContactRegion ()


Personal tools