summaryrefslogtreecommitdiff
path: root/src/physics.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/physics.c')
-rw-r--r--src/physics.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/physics.c b/src/physics.c
index 048d65d..51e80f5 100644
--- a/src/physics.c
+++ b/src/physics.c
@@ -62,6 +62,10 @@ void DebugHighlights(const Entity* e) {
return;
Rectangle dstRect = GetPhysicsColliderGlobal(e);
- DrawRectangle(dstRect.x, dstRect.y, dstRect.width, dstRect.height, e->physicsColliderColor);
+
+ Color colliderDrawColor = e->physicsColliderColor;
+ colliderDrawColor.a = 170;
+
+ DrawRectangle(dstRect.x, dstRect.y, dstRect.width, dstRect.height, colliderDrawColor);
}
#endif