Click or drag to resize
RagdollPartSetImpactTransmissionProfile Method
Sets the impact transmission profile.

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

Parameters

profile
Type: System.Collections.GenericIEnumerableKeyframe
Profile.
Remarks

This profile specifies what portion of the strength reduction from impacts should be propagated to connected parts at each distance. Distance is based on total distance walked through the hierarchy, from one body's center of mass to the next.

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

See Also