Fx2D
A C++20 2D rigid-body physics engine
Loading...
Searching...
No Matches
FxContactEvent Struct Reference

A begin/end contact event from the latest simulation step. More...

#include <Scene.h>

+ Collaboration diagram for FxContactEvent:

Public Attributes

FxEntity * entity1 = nullptr
 
FxEntity * entity2 = nullptr
 
bool is_trigger = false
 

Detailed Description

A begin/end contact event from the latest simulation step.

Definition at line 46 of file Scene.h.

Member Data Documentation

◆ entity1

FxEntity* FxContactEvent::entity1 = nullptr

Definition at line 49 of file Scene.h.

◆ entity2

FxEntity* FxContactEvent::entity2 = nullptr

Definition at line 50 of file Scene.h.

◆ is_trigger

bool FxContactEvent::is_trigger = false

Definition at line 52 of file Scene.h.


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