Always snap to grid

UE2:KarmaParams (UT2004)

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

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

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

Property group 'KarmaParams'[edit]

bDestroyOnWorldPenetrate[edit]

Type: bool

If the center of this object passes through the world, destroy it.

bDoSafetime[edit]

Type: bool

If true, do extra checks to avoid object passing through world.

bHighDetailOnly[edit]

Type: bool

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

Default value: True

bKAllowRotate[edit]

Type: bool

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

bKDoubleTickRate[edit]

Type: bool

Modifiers: const

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

bKNonSphericalInertia[edit]

Type: bool

Simulate body without using sphericalised inertia tensor

bKStayUpright[edit]

Type: bool

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

KActorGravScale[edit]

Type: float

Scale how gravity affects this actor.

Default value: 1.0

KAngularDamping[edit]

Type: float

Angular velocity damping (drag)

Default value: 0.2

KBuoyancy[edit]

Type: float

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

KLinearDamping[edit]

Type: float

Linear velocity damping (drag)

Default value: 0.2

KMass[edit]

Type: float

Mass used for Karma physics

Default value: 1.0

KMaxAngularSpeed[edit]

Type: float


Default value: 10.0

KMaxSpeed[edit]

Type: float

Maximum allowed speed (unreal units)

Default value: 2500.0

KStartAngVel[edit]

Type: Object.Vector

Initial angular velocity for actor

KStartEnabled[edit]

Type: bool

Start simulating body as soon as PHYS_Karma starts

KStartLinVel[edit]

Type: Object.Vector

Initial linear velocity for actor

KVelDropBelowThreshold[edit]

Type: float

Threshold that when actor drops below, KVelDropBelow event is triggered.

Default value: 1000000.0

Repulsors[edit]

Type: array<KRepulsor>


StayUprightDamping[edit]

Type: float


StayUprightStiffness[edit]

Type: float


Default value: 50.0

Internal variables[edit]

bClientOnly[edit]

Type: bool

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

Default value: True

bDestroyOnSimError[edit]

Type: bool

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

Default value: True

KAng3[edit]

Type: pointer

Modifiers: transient, const


KLastVel[edit]

Type: float

Modifiers: transient, const


KTriList[edit]

Type: pointer

Modifiers: transient, const