Gah - a solution with more questions. – EntropicLqd

UE2:KarmaParams (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
U2XMP Object >> KarmaParams

Contents

Package: 
Engine
Direct subclasses:
KarmaParamsRBFull, KarmaParamsSkel
This class in other games:
U2, UE2Runtime, UT2003, 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!

[edit] Properties

[edit] Property group 'KarmaParams'

[edit] KAllowRotate

Type: bool


[edit] KAngularDamping

Type: float


Default value: 0.2

[edit] KFriction

Type: float

Multiplied pairwise to get contact friction

[edit] KImpactThreshold

Type: float

threshold velocity magnitude to call KImpact event

Default value: 100000.0

[edit] KLinearDamping

Type: float


Default value: 0.2

[edit] KMass

Type: float

Mass used for Karma physics

Default value: 1.0

[edit] KRestitution

Type: float

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

[edit] KStartEnabled

Type: bool


[edit] KStayUpright

Type: bool

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

[edit] Internal variables

[edit] KAng3

Type: int

Modifiers: transient, const


[edit] KarmaData

Type: int

Modifiers: transient, const


[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

Personal tools