Untitled Game engine no.5  1.0
Public Member Functions | Public Attributes | List of all members
Engine::Collider Struct Reference

Generic type storage for a GJK enabled collider. More...

#include <Components.hpp>

Inheritance diagram for Engine::Collider:
Inheritance graph
[legend]

Public Member Functions

void processCollision (const Ref< PhysicsEntity > &other)
 collision hook storage More...
 
virtual glm::vec3 furthestInDir (const Ref< PhysicsEntity > &pe, const glm::vec3 &norm) const
 

Public Attributes

bool trigger = false
 
Ref< CollisionHookhook
 does the collider physically interact with other objects (def not stolen from unity)
 

Detailed Description

Generic type storage for a GJK enabled collider.

Provides an interface for producing support points from a global direction.

Member Function Documentation

◆ processCollision()

void Engine::Collider::processCollision ( const Ref< PhysicsEntity > &  other)
inline

collision hook storage

Process a collision between two physics entities.

Parameters
othercolliding entity

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