6 #include <ThirdParty/Box2D/Box2D/Box2D.h> 10 class CollisionSystem;
34 float32
ReportFixture(b2Fixture* fixture,
const b2Vec2& point,
const b2Vec2& normal, float32 fraction)
override;
37 eastl::weak_ptr<Entity> entity;
70 float32
ReportFixture(b2Fixture* fixture,
const b2Vec2& point,
const b2Vec2& normal, float32)
override;
73 std::weak_ptr<Entity> entities;
74 b2Vec2 points[MAX_COUNT];
75 b2Vec2 normals[MAX_COUNT];
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...
Gets the all entities hit by the ray Callback class used to get collision data from ray queries NOTE:...
Gets the first entity hit by the ray Callback class used to get collision data from ray queries ...
The Collision System handles and stores run-time collision data using the Box2D library ...
CollisionLayer
Bitmask Enum that allows for layered collision checking