UMovementComponent::OverlapTest

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

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().

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss