Click or drag to resize
RagdollPartReduceStrength Method
Tries to reduce the strength of this part using the specified impulse.

Namespace: Candlelight.Physics
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
C#
protected bool ReduceStrength(
	Vector3 impulse,
	float sqrMagnitude,
	float reductionFactor,
	Vector3 position
)

Parameters

impulse
Type: Vector3
Impulse.
sqrMagnitude
Type: SystemSingle
Square magnitude of impulse.
reductionFactor
Type: SystemSingle
Reduction factor.
position
Type: Vector3
Position of the impulse.

Return Value

Type: Boolean
if the impulse exceeded the maximum this part can withstand; otherwise, .
See Also