FBodyInstance::OverlapPhysX - might be a bug

I’m using 4.6.1 QA build.

in function FBodyInstance::OverlapPhysX

while iterating PShapes there’s this block

if(ShapeBoundToBody(PShape, this) == false)

{
if(PxGeometryQuery::overlap(…)) return true;
}

I’m not pretty sure but think this condition statement should be

if(ShapeBoundToBody(PShape, this) ) without " == false "

Is this code okay by itself, has been changed in the latest build or did I make a wrong guess?
Just let me know. Thanks :slight_smile:

Hi,

It seems You are right:)

https://github.com/EpicGames/UnrealEngine/commit/a181be5d335ee49e871417280bd89c91498169d2

Regards

Pierdek

Got it. Thanks