playMaker

Author Topic: Input.Touches Pinch help / how to  (Read 1327 times)

kici

  • Junior Playmaker
  • **
  • Posts: 63
    • View Profile
    • KZ Development
Input.Touches Pinch help / how to
« on: March 21, 2014, 10:07:06 AM »
Hi,

Can someone please explain how I can use Input.Touches pinch with playmaker, I've added the "PlayMakerInputTouchesProxy " to the scene and has only "Pinch" checkmarked, then I have created a new FSM that has a transition "Input touches Pinch" and the next State is just checking input touches pinch info  which does A debug.log to find out which vector2 finger1, finger2, and a float for the magnitude.

I am trying to make a camera zoom in/out with this, but having difficulties,

please help,

thanks

kici

  • Junior Playmaker
  • **
  • Posts: 63
    • View Profile
    • KZ Development
Re: Input.Touches Pinch help / how to
« Reply #1 on: March 24, 2014, 04:20:35 PM »
Jean please help me  :(

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14338
  • Official Playmaker Support
    • View Profile
Re: Input.Touches Pinch help / how to
« Reply #2 on: March 27, 2014, 12:07:24 AM »
:)

 Thanks for bumping this. It's very important, as I am swamped!

Do you get meaningfull info out of the pinch? or do you have a problem applying the values you get back to the camera to zoom it?

 Bye,

 Jean

kici

  • Junior Playmaker
  • **
  • Posts: 63
    • View Profile
    • KZ Development
Re: Input.Touches Pinch help / how to
« Reply #3 on: March 27, 2014, 06:29:31 PM »
I simply do not get any kind of info xD not sure why

I could probably do it by a script/code, but not through playmaker I must be doing something wrong

kici

  • Junior Playmaker
  • **
  • Posts: 63
    • View Profile
    • KZ Development
Re: Input.Touches Pinch help / how to
« Reply #4 on: March 31, 2014, 03:46:42 PM »
bump

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14338
  • Official Playmaker Support
    • View Profile
Re: Input.Touches Pinch help / how to
« Reply #5 on: April 01, 2014, 04:50:48 AM »
Hi,

What are you using to debug thes values? Unity remote?

bye,

 Jean

kici

  • Junior Playmaker
  • **
  • Posts: 63
    • View Profile
    • KZ Development
Re: Input.Touches Pinch help / how to
« Reply #6 on: April 01, 2014, 04:07:53 PM »
I have no idea anymore, deleted the scenes ever since... and I do it through a script/code... figured why use pm for everything since i'm not 100% good at it