Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: nabilfx on April 11, 2014, 09:29:58 AM

Title: 2 finger scale
Post by: nabilfx 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?
Title: Re: 2 finger scale
Post by: jeanfabre 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

Title: Re: 2 finger scale
Post by: nabilfx 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?
Title: Re: 2 finger scale
Post by: jeanfabre on April 15, 2014, 10:31:19 AM
Hi,

 have you imported Input.touche package as well?

Bye,

 Jean