Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/PhysicsEngine > API/Runtime/Engine/PhysicsEngine/FBodyInstance
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/PhysicsEngine/BodyInstance.h |
| Include | #include "PhysicsEngine/BodyInstance.h" |
bool OverlapTestForBodies
&40;
const FVector & Position,
const FQuat & Rotation,
const TArray< FBodyInstance &42; > & Bodies,
bool bTraceComplex
&41; const
Remarks
Test if the bodyinstance overlaps with the specified body instances true if any of the bodies passed in overlap with this
Parameters
| Name | 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 |
| TraceComplex | Trace against complex or simple geometry (Defaults simple) |