I don't need to test my programs. I have an error-correcting modem.

UE2:KarmaParams (U2XMP)

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

The Karma physics parameters class. This provides 'extra' parameters needed by Karma physics to the Actor class. (see Actor.uc) NB: All parameters are in KARMA scale!

Properties

Property group 'KarmaParams'

KAllowRotate

Type: bool


KAngularDamping

Type: float


Default value: 0.2

KFriction

Type: float

Multiplied pairwise to get contact friction

KImpactThreshold

Type: float

threshold velocity magnitude to call KImpact event

Default value: 100000.0

KLinearDamping

Type: float


Default value: 0.2

KMass

Type: float

Mass used for Karma physics

Default value: 1.0

KRestitution

Type: float

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

KStartEnabled

Type: bool


KStayUpright

Type: bool

Stop this object from being able to rotate (using Angular3 constraint)

Internal variables

KAng3

Type: int

Modifiers: transient, const


KarmaData

Type: int

Modifiers: transient, const


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