Download

PxGeometryQuery::computePenetration Returns invalid direction and penetration depth

I have a two Actors with their Skeletal mesh components in which have two capsules in the physics asset. When i used the SetActorLocation with Sweep set to true. I get a blocking hit. But the the peneration depth and direction is invalid when i used PxGeometryQuery::computePenetration. I have have set Simulation Generates Hit Events true on both the capsules as well as the MeshComponent in the actors. I do no have simulate physics on. What is strange is that it does give me the correction penetration depth for another actor correctly that has a box component