Ability to visually debug geometry visually:

-Visible 2D and 3D Shapes, Polygons, Tile collisions, etc.
-Visible Navmesh and Navpoly
-Visible collision contacts for 2D and 3D as a red point
-Customizable colors in project settings
This commit is contained in:
Juan Linietsky
2015-09-20 13:03:46 -03:00
106 changed files with 2025 additions and 445 deletions

View File

@ -293,6 +293,9 @@ public:
// this function only works on fixed process, errors and returns null otherwise
virtual Physics2DDirectSpaceState* space_get_direct_state(RID p_space)=0;
virtual void space_set_debug_contacts(RID p_space,int p_max_contacts)=0;
virtual Vector<Vector2> space_get_contacts(RID p_space) const=0;
virtual int space_get_contact_count(RID p_space) const=0;
//missing space parameters