This commit is contained in:
Raphael 2024-02-06 17:38:33 -07:00 committed by GitHub
commit 0a3777b39f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -157,6 +157,9 @@ bool JoltPhysicsPlayerController::WasFrozen()
static void CheckCollision( JoltPhysicsObject *pObject, JPH::CollideShapeCollector &ioCollector, JPH::BodyFilter &ioFilter )
{
if ( !pObject->IsCollisionEnabled() )
return;
JPH::PhysicsSystem *pSystem = pObject->GetEnvironment()->GetPhysicsSystem();
// TODO(Josh): Make a PLAYER ONLY layer that will only collide with MOVING ONLY annd