Fix debug draw leftover from 9da686cd52

#1369 #1365
This commit is contained in:
Wojtek Figat
2023-09-10 13:34:46 +02:00
parent 328bfa8322
commit a4312590e7

View File

@@ -250,7 +250,6 @@ void CharacterController::UpdateBounds()
const Vector3 extent(radius, height * 0.5f + radius, radius);
_box = BoundingBox(position - extent, position + extent);
BoundingSphere::FromBox(_box, _sphere);
DEBUG_DRAW_BOX(_box, Color::Red.AlphaMultiplied(0.4f), 2.0f, true);
}
void CharacterController::AddMovement(const Vector3& translation, const Quaternion& rotation)