Playmaker Forum

PlayMaker Help & Tips => Android Help => Topic started by: aphixe on October 19, 2017, 03:30:26 AM

Title: Trying to follow Touch Info video(maybe ios only?)
Post by: aphixe on October 19, 2017, 03:30:26 AM
I am following touch info, which i believe maybe only ios?

I ran it on my device via remote, and when i touch the screen the cube jumps to the main camera blocking my view. it get stuck in the action i have an image of below. I guess touch info isn't for android. so how can i do a simple touch and drag object on mobile with playmaker.
Title: Re: Trying to follow Touch Info video(maybe ios only?)
Post by: aphixe on October 19, 2017, 01:55:22 PM
a few things I changed and noticed. Screen to world point. someone in a playmaker chat on slack pointed out, that I am setting Screen Z to 1. if I change to 1, it doesn't jump to the camera anymore. however looking at debug info. I see screen x and y being set and updated in screen to world point, but "store world vector" it always sets X and Y to -4, and -13.9. so the object always moves at same point no matter where finger is placed. the image added is what it looks like when running
Title: Re: Trying to follow Touch Info video(maybe ios only?)
Post by: jeanfabre on May 11, 2018, 02:09:41 AM
Hi,

 touch infos is a generic action and works on all platforms with touch supported, so I think in your case it's just a logical issues in the fsm and action setup.

 Bye,

 Jean