ToyMaker Game Engine 0.0.2
ToyMaker is a game engine developed and maintained by Zoheb Shujauddin.
Loading...
Searching...
No Matches
ToyMaker::Collision Struct Reference

Data representing everything about a collision. More...

#include <types.hpp>

Public Attributes

bool mCollided
 Whether a collision occurred.
Contact mContactA
 Contact information relative to the first collision shape.
Contact mContactB
 Contact information relative to the second collision shape.

Detailed Description

Data representing everything about a collision.

This data includes:

  • Whether a collision occurred
  • Contact information relative to each object, referred to as A and B, depending on the order of parameters passed to the collision evaluator

The documentation for this struct was generated from the following file:
  • ToyMaker_Main/include/toymaker/engine/spatial_query/types.hpp