The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall
UE2:KarmaParamsCollision (UT2003)
From Unreal Wiki, The Unreal Engine Documentation Site
| Object >> KarmaParamsCollision |
Contents |
- Package:
- Engine
- Direct subclass:
- KarmaParams
- This class in other games:
- U2, UE2Runtime, UT2004
| This is an auto-generated page and may need human attention. Please remove this tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
The Karma Collision parameters class. This provides 'extra' parameters needed to create Karma collision for this Actor. You can _only_ turn on collision, not dynamics. NB: All parameters are in KARMA scale!
[edit] Properties
[edit] Property group 'KarmaParamsCollision'
[edit] KFriction
Type: float
Multiplied pairwise to get contact friction
[edit] KImpactThreshold
Type: float
threshold velocity magnitude to call KImpact event
Default value: 1000000.0
[edit] KRestitution
Type: float
'Bouncy-ness' - Normally between 0 and 1. Multiplied pairwise to get contact restitution.
[edit] Internal variables
[edit] bContactingLevel
Type: bool
Modifiers: const
[edit] KarmaData
Type: int
Modifiers: const, transient
[edit] KScale
Type: float
Modifiers: const
Usually kept in sync with actor's DrawScale, this is how much to scale moi/com-offset (but not mass!)
Default value: 1.0
[edit] KScale3D
Type: Object.Vector
Modifiers: const
Default value:
| Member | Value |
|---|---|
| X | 1.0 |
| Y | 1.0 |
| Z | 1.0 |
