| 163 | } |
| 164 | |
| 165 | bool RavEngine::PhysicsSolver::generic_overlap(const PhysicsTransform& t, const PxGeometry& geo, OverlapHit& out_hit) |
| 166 | { |
| 167 | PxOverlapBuffer hit; |
| 168 | bool result = scene->overlap(geo,PxTransform(PxVec3(t.pos.x,t.pos.y,t.pos.y),PxQuat(t.rot.x,t.rot.y,t.rot.z,t.rot.w)),hit); |
| 169 | out_hit = OverlapHit(hit); |
| 170 | return result; |
| 171 | } |
| 172 | |
| 173 | |
| 174 | /** |
nothing calls this directly
no test coverage detected