Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/PhysicsEngine/BodyInstance.h |
Include |
#include "PhysicsEngine/BodyInstance.h" |
Source |
/Engine/Source/Runtime/Engine/Private/PhysicsEngine/BodyInstance.cpp |
bool OverlapTest_AssumesLocked
(
const FVector & Position,
const FQuat & Rotation,
const struct FCollisionShape & CollisionShape,
FMTDResult * OutMTD
) const
Test if the bodyinstance overlaps with the specified shape at the specified position/rotation
This function is not thread safe. Make sure you obtain the physics scene read lock before calling it
true if the geometry associated with this body instance overlaps the query shape at the specified location/rotation
Parameter |
Description |
---|---|
Position |
Position to place the shape at before testing |
Rotation |
Rotation to apply to the shape before testing |
CollisionShape |
Shape to test against |
OutMTD |
The minimum translation direction needed to push the shape out of this BodyInstance. (Optional) |