playMaker

Author Topic: 2 finger scale  (Read 2079 times)

nabilfx

  • Full Member
  • ***
  • Posts: 186
2 finger scale
« on: April 11, 2014, 09:29:58 AM »
I hava a 3D plane, how can i scale it, by touch with 2 fingers? any tutorial?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: 2 finger scale
« Reply #1 on: April 14, 2014, 08:31:11 AM »
Hi,

 for this, I would recommand you work with Input.touches.

https://hutonggames.fogbugz.com/default.asp?W961

or other similar tools ( double check they support PlayMaker tho).

It has all your typically gestures done for you and the playmaker packaage will provide you with ready made global events and custom actions to get infos on gestures ( you want to use the pinch gesture here).

bye,

 Jean


nabilfx

  • Full Member
  • ***
  • Posts: 186
Re: 2 finger scale
« Reply #2 on: April 14, 2014, 08:43:29 AM »
I import the (PlayMakerInputTouches) to Unity, and have this error.

Assets/PlayMaker Input Touches/Internal/PlayMakerInputTouchesProxy.cs(869,27): error CS0246: The type or namespace name `DragInfo' could not be found. Are you missing a using directive or an assembly reference?

How can i fix that?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: 2 finger scale
« Reply #3 on: April 15, 2014, 10:31:19 AM »
Hi,

 have you imported Input.touche package as well?

Bye,

 Jean