There is no spoon

UE2:KarmaParams (UE2Runtime)

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

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UE2Runtime Object >> KarmaParamsCollision >> KarmaParams
Package: 
Engine
Direct subclasses:
KarmaParamsRBFull, KarmaParamsSkel
This class in other games:
U2XMP, UT2003, U2, UT2004

The Karma physics parameters class. This provides 'extra' parameters needed by Karma physics to the Actor class. Need one of these (or a subclass) to set Physics to PHYS_Karma. (see Actor.uc) NB: All parameters are in KARMA scale!

Properties

Property group 'KarmaParams'

bHighDetailOnly

Type: bool

Only turn on karma physics for this actor if the level PhysicsDetailLevel is PDL_High

Default value: True

bKAllowRotate

Type: bool

Allow this object to rotate about a vertical axis. Ignored unless KStayUpright == true.

bKDoubleTickRate

Type: bool

Modifiers: const

Allows higher karma sim rate (double normal) for some objects.

bKNonSphericalInertia

Type: bool

Simulate body without using sphericalised inertia tensor

bKStayUpright

Type: bool

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

KActorGravScale

Type: float

Scale how gravity affects this actor.

Default value: 1.0

KAngularDamping

Type: float

Angular velocity damping (drag)

Default value: 0.2

KBuoyancy

Type: float

Applies in water volumes. 0 = no buoyancy. 1 = neutrally buoyant

KLinearDamping

Type: float

Linear velocity damping (drag)

Default value: 0.2

KMass

Type: float

Mass used for Karma physics

Default value: 1.0

KStartAngVel

Type: Object.Vector

Initial angular velocity for actor

KStartEnabled

Type: bool

Start simulating body as soon as PHYS_Karma starts

KStartLinVel

Type: Object.Vector

Initial linear velocity for actor

KVelDropBelowThreshold

Type: float


Default value: 1000000.0

Repulsors

Type: array<KRepulsor>


SafeTimeMode

Type: ESafeTimeMode


StayUprightDamping

Type: float


StayUprightStiffness

Type: float


Default value: 50.0

Internal variables

bClientOnly

Type: bool

Only turn on karma physics for this actor on the client (not server).

Default value: True

bDestroyOnSimError

Type: bool

If there is a problem with the physics, destroy, or leave around to be fixed (eg. by network).

Default value: True

KAng3

Type: int

Modifiers: transient, const


KLastVel

Type: float

Modifiers: transient, const


KTriList

Type: int

Modifiers: transient, const


Enums

ESafeTimeMode

KST_None 
KST_Auto 
KST_Always