Result
Blueprint
Cpp
#include "DrawDebugHelpers.h" void AItem::BeginPlay() { Super::BeginPlay(); UWorld* World = GetWorld(); FVector Location = GetActorLocation(); FVector Forward = GetActorForwardVector(); if (World) { DrawDebugPoint(World, Location + Forward * 100.f, 15.f, FColor::Blue, >true); } }