MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / OverlapHit

Class OverlapHit

include/RavEngine/PhysicsSolver.hpp:101–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99
100
101 struct OverlapHit {
102 OverlapHit() {}
103 OverlapHit(const physx::PxOverlapBuffer& hit) {
104 overlapObject = ((PhysicsBodyComponent*)hit.block.actor->userData)->getOwner();
105 }
106 Ref<Entity> overlapObject;
107 };
108
109 /**
110 Perform a box overlap

Callers 1

generic_overlapMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected