Click or drag to resize

PhysicsUtilsExplode Method

Create an explosion at the given position.

Namespace:  RavingBots.MagicGestures.Game
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public static void Explode(
	Vector3 position,
	float radius,
	float power
)

Parameters

position
Type: Vector3
radius
Type: SystemSingle
power
Type: SystemSingle
Remarks
This adds a force impulse to all objects in the explosion radius, away from the explosion center, with strength based on how close to the explosion center that object is.
See Also