Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/PhysicsEngine/BodyInstance.h |
Include |
#include "PhysicsEngine/BodyInstance.h" |
bool OverlapTestForBodies
(
const FVector & Position,
const FQuat & Rotation,
const TArray< FBodyInstance * > & Bodies
) const
Test if the bodyinstance overlaps with the specified body instances
true if any of the bodies passed in overlap with this
Parameter |
Description |
---|---|
Position |
Position to place our shapes at before testing (shapes of this BodyInstance) |
Rotation |
Rotation to apply to our shapes before testing (shapes of this BodyInstance) |
Bodies |
The bodies we are testing for overlap with. These bodies will be in world space already |