Wiki > Physics Debug

DebugExtension class


Class responsible for drawing custom geometry figures like spheres, cubes, etc.

Namespace: RotaryHeart.Lib.PhysicsExtension.Physics
Package: Physics Debug Extension

Syntax


public static class DebugExtensions

Methods


Accessibility Level Type Name Description
public static void DebugSquare(Vector3, Vector3, Color, Quaternion, float = 0, Physics.PreviewCondition = Physics.PreviewCondition.Editor) Draws a square.
public static void DebugBox(Vector3, Vector3, Vector3, float, Color, Quaternion, Color, bool = true, float = 0, Physics.PreviewCondition = Physics.PreviewCondition.Editor) Draws a box using direction and distance.
public static void DebugBox(Vector3, Vector3, Color, Quaternion, float = 0, Physics.PreviewCondition = Physics.PreviewCondition.Editor) Draws a box.
public static void DebugOneSidedCapsule(Vector3, Vector3, Color, float = 1, bool = false, float = 0, Physics.PreviewCondition = Physics.PreviewCondition.Editor) Draws a one sided capsule.
public static void DebugCapsule(Vector3, Vector3, Color, float = 1, bool = true, float = 0, Physics.PreviewCondition = Physics.PreviewCondition.Editor) Draws a capsule.
public static void DebugCircle(Vector3, Vector3, Color, float = 1.0f, float = 0, Physics.PreviewCondition = Physics.PreviewCondition.Editor) Draws a circle.
public static void DebugPoint(Vector3, Color, float = 0.5f, float = 0, Physics.PreviewCondition = Physics.PreviewCondition.Editor) Draws a point.
public static void DebugWireSphere(Vector3, Color, float = 1.0f, float = 0, Physics.PreviewCondition = Physics.PreviewCondition.Editor) Draws a wire sphere.