Unity Pixel coordinate/ Delta position

 https://www.programmersought.com/article/1468596082/

Coordinate system classification

1. Physics Engine Coordinate System / World Coordinate System
2. Screen coordinate system

The screen coordinate system is like this, the x value in the upper right corner is the largest, the y value is the largest, and the lower left corner x and y are both 0. The value is the screen pixel size

Touch.deltaPosition issues - Unity Forum

float value = touch.deltaTime > 0 ? touch.deltaPosition.x / Screen.width / touch.deltaTime : 0;


댓글

이 블로그의 인기 게시물

About AActor!!! "UObject" has no member "BeginPlay"

UNREAL Android build information

C++ 생성자 위임 (delegating constructor)