Click or drag to resize
RagdollPartSetImpactLayerStrengths Method
Sets the environment layers that will cause strength reduction upon impact, as well as the factor by which collision impulses will be multiplied when calculating strength reduction.

Namespace: Candlelight.Physics
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
C#
public void SetImpactLayerStrengths(
	Dictionary<int, float> impactLayerStrengths
)

Parameters

impactLayerStrengths
Type: System.Collections.GenericDictionaryInt32, Single
A table of layer indices and corresponding strength reduction factors. If an entry has a value of 0, collisions with the layer will be effectively ignored for strength reduction purposes.
See Also