UCharacterMovementComponent::CapsuleTouched

Called when the collision capsule touches another primitive component

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

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

Include

#include "GameFramework/CharacterMovementComponent.h"

Source

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

Syntax

virtual void CapsuleTouched
(
    UPrimitiveComponent * OverlappedComp,
    AActor * Other,
    UPrimitiveComponent * OtherComp,
    int32 OtherBodyIndex,
    bool bFromSweep,
    const FHitResult & SweepResult
)

Remarks

Called when the collision capsule touches another primitive component