각 인스턴스에 대한 독립적인 시간
Delta time == 프레임의 주기
거리량 = 속도 x 프레임 x 프레임주기
AMovingPlatform 이라는 UE 에서 만든 객체에 대한 C++ 코드가 하단에 있다.
인자로 DeltaTime 을 인풋 <- 가상환경속 프레임주기값
하단처럼 CurrentLocation = CurrentLocation + PlatformVelocity; 라고 하면 컴퓨터 프레임주기를 따르기 때문에 100cm를 아주 빠른 주기로 가게 된다.
따라서 CurrentLocation = CurrentLocation + (PlatformVelocity * DeltaTime); 라고 local frame duration 을 곱해줘야 한다.
댓글