Skip to content

Instantly renders Unity's 2D physics colliders and joints as a wireframe for rapid prototyping

License

Notifications You must be signed in to change notification settings

mitay-walle/com.mitay-walle.physics2d-debugger

 
 

Repository files navigation

Use SceneViewColliders2DOverlay instead

Unity Physics 2D Debugger

Instantly renders Unity's 2D physics colliders and joints as wireframes for rapid prototyping.

Installation

Install UPM-Package by Git URL

Usage

  • open window by click 'Window/Analysis/Physics 2D Debugger'
  • ensure Gizmos is turn on
  • The colors for the various types of colliders can be changed in the '2D Debugger' window

Added

  • line hard/soft
  • line thickness
  • hide by SceneView.DrawGizmos
  • hide by EditorWindow.OnBecameVisible
  • hide by Draw-flag
  • hide by Collider.gameObject.activeInHierarcy
  • Collider.enabled = false make Gizmo.Color half-visible

Changed

  • converted to UPM-package
  • MonoBehaviour converted to EditorWindow
  • Gizmos.DrawLine() replaced with Handles.DrawLines()

Fixed

Known Issues

About

Instantly renders Unity's 2D physics colliders and joints as a wireframe for rapid prototyping

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Languages

  • C# 100.0%