https://discussions.unity.com/t/touch-delta-switching-positive-negative/827291/5

Touch.delta switching positive/negative
Why don’t they fix it? Unity made so many features but nothing to use easily. Always tried to find solution.
discussions.unity.com
InputSystem 1.8.2쓰다가 발견했는데 2021년부터 발생했던 것 보면 그냥 아무도 안써서 안고치나?
Touch.delta 값 받아오니 공식문서에 따르면 매 프레임 update 이전에 0,0으로 초기화되고 움직인 값 넣어진다는데
초기화도 안되서 값이 누적되고 양수/음수로 매프레임 전환됨.
이전 프레임 값이랑 비교하면 delta값 구할 수 있어서 다들 그냥 넘어갔나?
혹시 사용하시는 분들은 이런문제 없는지 궁금함.
댓글 1