VEX Engine
Retro looking game engine made in vulkan mostly because i wanted to understand it better.
Loading...
Searching...
No Matches
vex::MyContactListener Class Reference
Inheritance diagram for vex::MyContactListener:

Public Member Functions

 MyContactListener (PhysicsSystem &system)
JPH::ValidateResult OnContactValidate (const JPH::Body &inBody1, const JPH::Body &inBody2, JPH::RVec3Arg inBaseOffset, const JPH::CollideShapeResult &inCollisionResult) override
void OnContactAdded (const JPH::Body &inBody1, const JPH::Body &inBody2, const JPH::ContactManifold &inManifold, JPH::ContactSettings &ioSettings) override
void OnContactPersisted (const JPH::Body &inBody1, const JPH::Body &inBody2, const JPH::ContactManifold &inManifold, JPH::ContactSettings &ioSettings) override
void OnContactRemoved (const JPH::SubShapeIDPair &inSubShapePair) override

Private Attributes

PhysicsSystemm_system

Detailed Description

Definition at line 565 of file PhysicsSystem.hpp.

Constructor & Destructor Documentation

◆ MyContactListener()

vex::MyContactListener::MyContactListener ( PhysicsSystem & system)
inline

Definition at line 567 of file PhysicsSystem.hpp.

Member Function Documentation

◆ OnContactAdded()

void vex::MyContactListener::OnContactAdded ( const JPH::Body & inBody1,
const JPH::Body & inBody2,
const JPH::ContactManifold & inManifold,
JPH::ContactSettings & ioSettings )
override

Definition at line 719 of file PhysicsSystem.cpp.

◆ OnContactPersisted()

void vex::MyContactListener::OnContactPersisted ( const JPH::Body & inBody1,
const JPH::Body & inBody2,
const JPH::ContactManifold & inManifold,
JPH::ContactSettings & ioSettings )
override

Definition at line 737 of file PhysicsSystem.cpp.

◆ OnContactRemoved()

void vex::MyContactListener::OnContactRemoved ( const JPH::SubShapeIDPair & inSubShapePair)
override

Definition at line 755 of file PhysicsSystem.cpp.

◆ OnContactValidate()

JPH::ValidateResult vex::MyContactListener::OnContactValidate ( const JPH::Body & inBody1,
const JPH::Body & inBody2,
JPH::RVec3Arg inBaseOffset,
const JPH::CollideShapeResult & inCollisionResult )
inlineoverride

Definition at line 570 of file PhysicsSystem.hpp.

Member Data Documentation

◆ m_system

PhysicsSystem& vex::MyContactListener::m_system
private

Definition at line 591 of file PhysicsSystem.hpp.


The documentation for this class was generated from the following files: