µ¹°í·¡ ȨÆäÀÌÁö
ID:
PW:


  ¿î¿µÀÚ(2021-09-29 16:21:37, Hit : 1111, Vote : 636
 ue4 math timer tip

Yaw·Î °¢µµ ±¸Çϱâ
FRotator TargetRot = FRotationMatrix::MakeFromX(ballTargetDir).Rotator();


´Ù½Ã ¹æÇâ º¤ÅÍ ±¸Çϱâ
FVector resVec = forwardDir2.RotateAngleAxis(TargetRot.Yaw, FVector::UpVector)

UE4 ½Ã°£ ¾ò¾î¿À±â
https://m.blog.naver.com/cpuover/221055768647

½Ã°£ ¿¹Á¦
https://vimsky.com/examples/detail/cpp-ex---FDateTime---class.html
https://qiita.com/unknown_ds/items/11baa179e7712b2ceea5

FDateTimeStructCustomization::ToDateTimeZoneString
UKismetMathLibrary::UtcNow()
FDateTime::UtcNow


¾ð¸®¾ó¿¡¼­´Â QueryPerformanceCounter¸¦ ÀÌ¿ëÇÏ¿© ±¸Çö
float FPlatformTime::Seconds()


chrono timer¸¦ ÀÌ¿ëÇÑ stop watch class
std::chrono::system_clock::time_point m_start = std::chrono::system_clock::now();
https://blog.naver.com/xtelite/221991670131

#include "Windows/WindowsPlatformTime.h"
double start = FPlatformTime::Seconds();

// put code you want to time here.

double end = FPlatformTime::Seconds();
UE_LOG(LogTemp, Warning, TEXT("code executed in %f seconds."), end-start);




¡â ue4 ÃÖÀûÈ­
¡ä unreal engine game tutorial

Copyright 1999-2022 Zeroboard / skin by zero