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

UE2:KarmaParams (UE2Runtime)

From Unreal Wiki, The Unreal Engine Documentation Site

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

Contents

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

[edit] Properties

[edit] Property group 'KarmaParams'

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


Default value: 1000000.0

[edit] Repulsors

Type: array<KRepulsor>


[edit] SafeTimeMode

Type: ESafeTimeMode


[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: int

Modifiers: transient, const


[edit] KLastVel

Type: float

Modifiers: transient, const


[edit] KTriList

Type: int

Modifiers: transient, const


[edit] Enums

[edit] ESafeTimeMode

KST_None 
KST_Auto 
KST_Always 
Personal tools