playMaker

Author Topic: get touch info and screen pick error !  (Read 3869 times)

jasonshow

  • Playmaker Newbie
  • *
  • Posts: 8
get touch info and screen pick error !
« 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 !
« Last Edit: December 17, 2012, 03:09:25 PM by jasonshow »

jasonshow

  • Playmaker Newbie
  • *
  • Posts: 8
Re: get touch info with everyframe error !
« Reply #1 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" ?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: get touch info and screen pick error !
« Reply #2 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