DrawDebugPoint

Programin98·2024년 5월 22일

Unreal Study

목록 보기
4/14

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);
	}
}
profile
unreal study

0개의 댓글