UMovementComponent::OverlapTest

Return true if the given collision shape overlaps other geometry at the given location and rotation.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/MovementComponent.h

Include

#include "GameFramework/MovementComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/MovementComponent.cpp

Syntax

virtual bool OverlapTest
(
    const FVector & Location,
    const FQuat & RotationQuat,
    const ECollisionChannel CollisionChannel,
    const FCollisionShape & CollisionShape,
    const AActor * IgnoreActor
) const

Remarks

Return true if the given collision shape overlaps other geometry at the given location and rotation. The collision params are set by InitCollisionParams().