Added in Raycasting through Physics #226

Merged
direnbharwani merged 5 commits from SP3-2-Physics into main 2022-11-19 16:24:50 +08:00
1 changed files with 3 additions and 0 deletions
Showing only changes of commit 6b5b0387a9 - Show all commits

View File

@ -351,6 +351,9 @@ namespace SHADE
////////////////////////////////
// Create physics world
if (worldState.world != nullptr)
return onPlayEvent->handle;
worldState.CreateWorld(factory);
// Link Collision Listener & Raycaster