PlayMaker Help & Tips > iOS Help

get touch info and screen pick error !

(1/1)

jasonshow:
I use get touch info action with every frame option to get touch position, and then set position to my object.

if I drag my object slowly, everything is good,my object will move with my finger,but if I drag faster, my object will go back to (0,0,0)

is it a bug?

please help me!
thanks a lot !

jasonshow:
I found it may be wrong with "screen pick" !

without "screen pick" , I can drag my object very fast, but the position is wrong~

but how can I do draging without "screen pick" ?

jeanfabre:
Hi,

 have y look at this thread, it has many links to working samples for dragging. It may help you finding the right, or better a working way to do it.

bye,

 Jean

Navigation

[0] Message Index

Go to full version