Engine²
Open-source game engine written in C++.
Loading...
Searching...
No Matches
Physics::Event::CollisionAddedEvent Struct Reference

Event triggered when a collision starts between two entities. More...

#include <CollisionEvent.hpp>

Public Attributes

Engine::EntityId entity1
 The first entity involved in the collision.
Engine::EntityId entity2
 The second entity involved in the collision.

Detailed Description

Event triggered when a collision starts between two entities.

Member Data Documentation

◆ entity1

Engine::EntityId Physics::Event::CollisionAddedEvent::entity1

The first entity involved in the collision.

◆ entity2

Engine::EntityId Physics::Event::CollisionAddedEvent::entity2

The second entity involved in the collision.


The documentation for this struct was generated from the following file: