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:
@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user