- Home /
This question was
closed May 14 at 03:07 PM by
SolPurposeGames.
Time.deltaposition problem on multiple devices
When I swipe my player on multiple devices the speed is different and I know its to do with touch.deltaposition but not sure how to fix it.
Comment
Best Answer
Answer by SolPurposeGames · May 14 at 03:06 PM
it worked with touch.deltaPosition.x / Screen.width;
Answer by krengdroid · Mar 25 at 08:03 AM
try using touch.deltaPosition.magnitude/touch.deltaTime instead of just touch.deltaPosition
Follow this Question
Related Questions
Camera swipe AND gameObject touch (Android) 1 Answer
IOS Swipe Gesture 0 Answers
Detect the swipe and add force respective to it? 3 Answers
Unity2D iOS Dragable items by touch 0 Answers
Touch Controls 0 Answers