I'm a doctor, not a mechanic

UE2:KarmaParams (U2)

From Unreal Wiki, The Unreal Engine Documentation Site
(Redirected from UE2:ESafeTimeMode (U2))
Jump to: navigation, search
U2 Object >> KarmaParamsCollision >> KarmaParams
Package: 
Engine
Direct subclasses:
KarmaParamsRBFull, KarmaParamsSkel
This class in other games:
U2XMP, UT2003, UE2Runtime, 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[edit]

Property group 'KarmaParams'[edit]

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

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


Default value: 1000000.0

Repulsors[edit]

Type: array<KRepulsor>


SafeTimeMode[edit]

Type: ESafeTimeMode


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

Modifiers: transient, const


KLastVel[edit]

Type: float

Modifiers: transient, const


KTriList[edit]

Type: int

Modifiers: transient, const


Enums[edit]

ESafeTimeMode[edit]

KST_None 
KST_Auto 
KST_Always