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

UE2:KarmaParams (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
UT2004 Object >> KarmaParamsCollision >> KarmaParams

Contents

Package: 
Engine
Direct subclasses:
KarmaParamsRBFull, KarmaParamsSkel
This class in other games:
U2, U2XMP, UE2Runtime, UT2003

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!

[edit] Properties

[edit] Property group 'KarmaParams'

[edit] bDestroyOnWorldPenetrate

Type: bool

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

[edit] bDoSafetime

Type: bool

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

[edit] bHighDetailOnly

Type: bool

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

Default value: True

[edit] bKAllowRotate

Type: bool

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

[edit] bKDoubleTickRate

Type: bool

Modifiers: const

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

[edit] bKNonSphericalInertia

Type: bool

Simulate body without using sphericalised inertia tensor

[edit] bKStayUpright

Type: bool

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

[edit] KActorGravScale

Type: float

Scale how gravity affects this actor.

Default value: 1.0

[edit] KAngularDamping

Type: float

Angular velocity damping (drag)

Default value: 0.2

[edit] KBuoyancy

Type: float

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

[edit] KLinearDamping

Type: float

Linear velocity damping (drag)

Default value: 0.2

[edit] KMass

Type: float

Mass used for Karma physics

Default value: 1.0

[edit] KMaxAngularSpeed

Type: float


Default value: 10.0

[edit] KMaxSpeed

Type: float

Maximum allowed speed (unreal units)

Default value: 2500.0

[edit] KStartAngVel

Type: Object.Vector

Initial angular velocity for actor

[edit] KStartEnabled

Type: bool

Start simulating body as soon as PHYS_Karma starts

[edit] KStartLinVel

Type: Object.Vector

Initial linear velocity for actor

[edit] KVelDropBelowThreshold

Type: float

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

Default value: 1000000.0

[edit] Repulsors

Type: array<KRepulsor>


[edit] StayUprightDamping

Type: float


[edit] StayUprightStiffness

Type: float


Default value: 50.0

[edit] Internal variables

[edit] bClientOnly

Type: bool

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

Default value: True

[edit] bDestroyOnSimError

Type: bool

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

Default value: True

[edit] KAng3

Type: pointer

Modifiers: transient, const


[edit] KLastVel

Type: float

Modifiers: transient, const


[edit] KTriList

Type: pointer

Modifiers: transient, const