GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::physics::SeparationEvent< N > Struct Template Reference

Collision end event between two objects in a Simulation. More...

#include <GREM/physics/collision.hpp>

Public Attributes

Pair< EntityID > objectIDs
 Ordered pair of handles to the objects that were previously in contact.
Pair< Transformation< N > > objectTransformations
 Ordered pair of transformations of the objects in world space at the time of the separation.
Pair< LinearVelocity< N > > objectLinearVelocities
 Ordered pair of linear velocities of the objects' centers of mass at the time of the separation.
Pair< AngularVelocity< N > > objectAngularVelocities
 Ordered pair of angular velocities of the objects at the time of the separation.

Detailed Description

template<size_t N>
struct grem::physics::SeparationEvent< N >

Collision end event between two objects in a Simulation.

Template Parameters
Nnumber of dimensions of the world space (must be 2 or 3).

Member Data Documentation

◆ objectIDs

template<size_t N>
Pair<EntityID> grem::physics::SeparationEvent< N >::objectIDs

Ordered pair of handles to the objects that were previously in contact.

◆ objectTransformations

template<size_t N>
Pair<Transformation<N> > grem::physics::SeparationEvent< N >::objectTransformations

Ordered pair of transformations of the objects in world space at the time of the separation.

◆ objectLinearVelocities

template<size_t N>
Pair<LinearVelocity<N> > grem::physics::SeparationEvent< N >::objectLinearVelocities

Ordered pair of linear velocities of the objects' centers of mass at the time of the separation.

◆ objectAngularVelocities

template<size_t N>
Pair<AngularVelocity<N> > grem::physics::SeparationEvent< N >::objectAngularVelocities

Ordered pair of angular velocities of the objects at the time of the separation.


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