rott/kf_sources/Engine/Classes/KarmaParamsSkel.uc
2026-07-14 20:27:09 +07:00

30 lines
1.0 KiB
Ucode

//=============================================================================
// The Karma physics parameter specific to skeletons.
// NB: All parameters are in KARMA scale!
//=============================================================================
class KarmaParamsSkel extends KarmaParams
editinlinenew
native;
var() string KSkeleton; // Karma Asset to use for this skeleton.
var() bool bKDoConvulsions;
var() bool bRubbery;
var() range KConvulseSpacing; // Time between convulsions.
// When the skeletal physics starts up, we check this line against the skeleton,
// and apply an impulse with magnitude KShotStrength if we hit a bone.
// This has to be deferred because ragdoll-startup is.
var transient vector KShotStart;
var transient vector KShotEnd;
var transient float KShotStrength;
var transient bool bKImportantRagdoll; // This indicates this ragdoll will not be recycled during KMakeRagdollAvailable
defaultproperties
{
KConvulseSpacing=(Min=0.5,Max=1.5)
bKDoConvulsions=False
KMaxSpeed=2500.0
}