Add Terrain physics collision debug drawing support

This commit is contained in:
Wojtek Figat
2021-07-14 14:51:20 +02:00
parent 04c6ecc963
commit 42f05a5072
4 changed files with 72 additions and 63 deletions

View File

@@ -29,7 +29,7 @@ struct RenderView;
#define USE_PRECISE_TERRAIN_INTERSECTS (USE_EDITOR)
// Enable/disable terrain physics collision drawing
#define TERRAIN_USE_PHYSICS_DEBUG (USE_EDITOR && 0)
#define TERRAIN_USE_PHYSICS_DEBUG (USE_EDITOR && 1)
// Terrain splatmaps amount limit. Each splatmap can hold up to 4 layer weights.
#define TERRAIN_MAX_SPLATMAPS_COUNT 2