Physics Debug Draw

This commit is contained in:
Isuru Samarathunga
2025-09-29 14:53:06 +05:30
parent b18bfe873f
commit 9269306146
7 changed files with 54 additions and 86 deletions

View File

@ -35,6 +35,7 @@ namespace ia::iae::game
t->BakeAnimations();
}
g_playerPhysics = g_player->AddComponent<PhysicsComponent>();
g_playerPhysics->IsDynamic() = true;
g_playerPhysics->AddCollider({
.IsTrigger = false,
.Position = {