Click or drag to resize

PhysicsUtils Class

Utility methods for physics based calculations.
Inheritance Hierarchy
SystemObject
  RavingBots.MagicGestures.GamePhysicsUtils

Namespace:  RavingBots.MagicGestures.Game
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public static class PhysicsUtils

The PhysicsUtils type exposes the following members.

Methods
  NameDescription
Public methodStatic memberExplode
Create an explosion at the given position.
Public methodStatic memberRaycastUi
Cast a ray to find an UI element.
Top
Fields
  NameDescription
Public fieldStatic memberLayerDefault
The index of the default layer.
Public fieldStatic memberLayerIgnoreRaycast
The index of the layer that ignores raycasts.
Public fieldStatic memberLayerUI
The index of the UI layer.
Public fieldStatic memberMaskDefault
The layer mask for LayerDefault.
Public fieldStatic memberMaskUI
The layer mask for LayerUI.
Top
See Also