Click or drag to resize
RagdollPartSetImpactRecoverySpeedProfile Method
Sets the impact recovery speed profile.

Namespace: Candlelight.Physics
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
C#
public void SetImpactRecoverySpeedProfile(
	IEnumerable<Keyframe> profile
)

Parameters

profile
Type: System.Collections.GenericIEnumerableKeyframe
Profile.
Remarks

Specifies the speed at which this part recovers strength from impacts for different manually assigned strength values.

The explicitly-defined values on the profile are clamped to the range [0, Mathf.Infinity]. Values may still fall outside this range depending on their tangents.

See Also