16 const bool isDetectable = uint16(detectionLayers) & fixture->GetFilterData().categoryBits;
17 if (isDetectable ==
false)
23 this->normal = normal;
26 const uint64_t entityID = uint64_t(fixture->GetUserData());
27 entity =
Engine::GetEngine().lock()->GetEntitySystem().lock()->GetEntity(entityID);
45 const bool isDetectable = uint16(detectionLayers) & fixture->GetFilterData().categoryBits;
46 if (isDetectable ==
false)
52 points[count] = point;
53 normals[count] = normal;
float32 ReportFixture(b2Fixture *fixture, const b2Vec2 &point, const b2Vec2 &normal, float32 fraction) override
Function used by Box2D to tell the Callback class that the ray has collided with a fixture...
float32 ReportFixture(b2Fixture *fixture, const b2Vec2 &point, const b2Vec2 &normal, float32) override
Function used by Box2D to tell the Callback class that the ray has collided with a fixture...
RayCastMultipleCallback()
static eastl::weak_ptr< Engine > GetEngine() noexcept
This method allows you to get the instance of the Engine. This method will automatically initialize t...
CollisionLayer
Bitmask Enum that allows for layered collision checking