If you want to help us maintaining this wiki, check out our discord server: https://discord.gg/3u69jMa 

KarmaParamsSkel

From SWRC Wiki
Revision as of 20:01, 11 April 2021 by Plasma (talk | contribs) (Created page with "<source lang="c++"> //============================================================================= // The Karma physics parameter specific to skeletons. // NB: All parameters...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
//=============================================================================
// 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() 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	 bKApplyToRoot;			// apply the force to the root
var transient bool	 bKImportantRagdoll;	// This indicates this ragdoll will not be recycled during KMakeRagdollAvailable


defaultproperties
{
     KConvulseSpacing=(Min=0.5,Max=1.5)
}