Click or drag to resize
RagdollPartSetStrength Method
Sets the strength of this part.

Namespace: Candlelight.Physics
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
C#
public void SetStrength(
	float strength,
	RagdollPartSetStrengthMode mode = RagdollPartSetStrengthMode.ForceUpdate
)

Parameters

strength
Type: SystemSingle
Strength value to set. It will be clamped by MaxStrength.
mode (Optional)
Type: Candlelight.PhysicsRagdollPartSetStrengthMode
The RagdollPartSetStrengthMode to use.
Remarks
Although Lazy is generally less expensive, joint properties edited by external mechanisms can fall out of sync.
See Also