x


The iPhoneInput.touchCount is 1 while no touch actually.

I'm using the iPhoneInput class to drag some object, and when i release, the object will come back to its original position. But i found some times the object don't return to his home, although i release my finger. I check the console info, the iPhoneInput.touchCount is 1 while no touch actually. Is this caused by event lost? How can i solve this?

more ▼

asked Feb 02 '10 at 05:46 AM

yuyunfeng gravatar image

yuyunfeng
52 1 1 3

Are you testing your app via Unity iPhone Remote or deploying it on actual device?

Feb 02 '10 at 05:07 PM Mantas Puida

I used actual device.

Feb 03 '10 at 06:39 AM yuyunfeng
(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

I found it is caused by the touch event lost. So i modify kMillisecondsPerFrameToProcessEvents to 10. It's much better now. At least i haven't reproduce the bug again.

more ▼

answered Feb 03 '10 at 06:43 AM

yuyunfeng gravatar image

yuyunfeng
52 1 1 3

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x2001
x957

asked: Feb 02 '10 at 05:46 AM

Seen: 1411 times

Last Updated: Feb 02 '10 at 02:06 PM