![]() | RagdollPartGetImpactStrengthReductionProfile Method |
Namespace: Candlelight.Physics
public void GetImpactStrengthReductionProfile( ref List<Keyframe> profile )
Specifies the amount of strength reduction to apply for impacts based on the ratio of the squared impulse magnitude to the squared mass of this part. For example, the value at x = 4 represents the strength reduction when either a body with the same mass as this one impacts at 2m/s or when a body with twice the mass of this one impacts at 1m/s.
If this part suffers an impact that falls outside this profile's domain then it will invoke OnExceededMaximumImpulse. When this instance is part of a RagdollAnimator's definition, this event will cause the full hierarchy to enter a ragdoll state.