There is no spoon
UE2:KarmaParams (U2)
Object >> KarmaParamsCollision >> KarmaParams |
Contents
- 1 Properties
- 1.1 Property group 'KarmaParams'
- 1.1.1 bHighDetailOnly
- 1.1.2 bKAllowRotate
- 1.1.3 bKDoubleTickRate
- 1.1.4 bKNonSphericalInertia
- 1.1.5 bKStayUpright
- 1.1.6 KActorGravScale
- 1.1.7 KAngularDamping
- 1.1.8 KBuoyancy
- 1.1.9 KLinearDamping
- 1.1.10 KMass
- 1.1.11 KStartAngVel
- 1.1.12 KStartEnabled
- 1.1.13 KStartLinVel
- 1.1.14 KVelDropBelowThreshold
- 1.1.15 Repulsors
- 1.1.16 SafeTimeMode
- 1.1.17 StayUprightDamping
- 1.1.18 StayUprightStiffness
- 1.2 Internal variables
- 1.1 Property group 'KarmaParams'
- 2 Enums
- Package:
- Engine
- Direct subclasses:
- KarmaParamsRBFull, KarmaParamsSkel
- This class in other games:
- U2XMP, UT2003, UE2Runtime, UT2004
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
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]
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