Playmaker Forum

PlayMaker Help & Tips => iOS Help => Topic started by: jasonshow on December 17, 2012, 12:51:05 PM

Title: get touch info and screen pick error !
Post by: jasonshow on December 17, 2012, 12:51:05 PM
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 !
Title: Re: get touch info with everyframe error !
Post by: jasonshow on December 17, 2012, 03:08:49 PM
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" ?
Title: Re: get touch info and screen pick error !
Post by: jeanfabre on December 17, 2012, 05:15:48 PM
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