My program doesn't have bugs. It just develops random features.

UE2:KarmaParams (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 10:10, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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[edit]

Property group 'KarmaParams'[edit]

KAllowRotate[edit]

Type: bool


KAngularDamping[edit]

Type: float


Default value: 0.2

KFriction[edit]

Type: float

Multiplied pairwise to get contact friction

KImpactThreshold[edit]

Type: float

threshold velocity magnitude to call KImpact event

Default value: 100000.0

KLinearDamping[edit]

Type: float


Default value: 0.2

KMass[edit]

Type: float

Mass used for Karma physics

Default value: 1.0

KRestitution[edit]

Type: float

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

KStartEnabled[edit]

Type: bool


KStayUpright[edit]

Type: bool

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

Internal variables[edit]

KAng3[edit]

Type: int

Modifiers: transient, const


KarmaData[edit]

Type: int

Modifiers: transient, const


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