Playmaker Forum

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

Title: Trying to follow Touch Info video(maybe ios only?)
Post by: aphixe on October 19, 2017, 12:30:26 AM
I am following touch info, which i believe maybe only ios?
https://www.youtube.com/watch?v=08VQPzDLNMk

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, 10:55:22 AM
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