playMaker

Author Topic: Using playMaker and FingerGestures  (Read 17594 times)

qholmes

  • 1.2 Beta
  • Hero Member
  • *
  • Posts: 509
Re: Using playMaker and FingerGestures
« Reply #15 on: February 29, 2012, 10:31:19 AM »
I am told it is just a PM bug with Send Event.

Q

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3985
  • Official Playmaker Support
    • LinkedIn
Re: Using playMaker and FingerGestures
« Reply #16 on: March 06, 2012, 06:45:40 PM »
Hi Q,

Has the 1.3.3 beta fixed the NullReferenceException for you?

Thanks!
Alex

qholmes

  • 1.2 Beta
  • Hero Member
  • *
  • Posts: 509
Re: Using playMaker and FingerGestures
« Reply #17 on: March 06, 2012, 06:48:51 PM »
Ummm i have not tried it yet.. I was sidetracked to Max movie projects instead. But they end tomorrow.

How do i get the beta's again? I think i have it in an email somewhere.

I will let you know

Q

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Using playMaker and FingerGestures
« Reply #18 on: March 07, 2012, 02:46:35 AM »
Hi,

 This is very likely a problem when you reload the scene at runtime and send an event on a start state. It very much look like this bug ( that is likely fix in the current beta).

 Bye,

 Jean

qholmes

  • 1.2 Beta
  • Hero Member
  • *
  • Posts: 509
Re: Using playMaker and FingerGestures
« Reply #19 on: March 07, 2012, 04:11:14 AM »
This is good.. my plan is to upgrade to 3.5 this week with all the new assets. Hoping for good things.

Currently up with 12 month old barfing. not super fun. Oh well.

Q

Mark_T

  • 1.2 Beta
  • Junior Playmaker
  • *
  • Posts: 72
Re: Using playMaker and FingerGestures
« Reply #20 on: March 20, 2012, 01:29:42 PM »
Quote from: Spk;868078
If you are interested in the PlayMaker integration, please leave some comments/suggestions in on the FG forum thread here. Thanks!

A quote from FingerGestures developer on his Unity forum thread.


qholmes

  • 1.2 Beta
  • Hero Member
  • *
  • Posts: 509
Re: Using playMaker and FingerGestures
« Reply #21 on: March 20, 2012, 01:40:02 PM »
Thanks i posted.

Q

qholmes

  • 1.2 Beta
  • Hero Member
  • *
  • Posts: 509
Re: Using playMaker and FingerGestures
« Reply #22 on: March 28, 2012, 11:21:33 PM »
Ok so my issues with FG and PM are gone with the new versions.. And the issues with loading scenes is also gone.. not sure where that post is at the moment... Yea..

Q

qholmes

  • 1.2 Beta
  • Hero Member
  • *
  • Posts: 509
Re: Using playMaker and FingerGestures
« Reply #23 on: March 29, 2012, 11:28:16 AM »
Can the smart people tell me why i cant use this code inside a PM Action?

Obviously i am not including the public class.. But just trying to insert that basic reference to the TapGesture Recognizer?

I am sure this is a basic scripting thing but i am not a scripter so i dont get it.  ???

Q

using UnityEngine;
 
public class MyTapHandler : MonoBehaviour
{
    // reference to our tap gesture recognizer object
    public TapGestureRecognizer tapRecognizer;
 
    void Start()
    {
        // register to the tap recognizer's OnTap event
        tapRecognizer.OnTap += tapRecognizer_OnTap;
    }
 
    // our tap event handler method
    void tapRecognizer_OnTap( TapGestureRecognizer source )
    {
        Debug.Log( "TAP detected at " + source.Position );
    }
}

qholmes

  • 1.2 Beta
  • Hero Member
  • *
  • Posts: 509
Re: Using playMaker and FingerGestures
« Reply #24 on: March 29, 2012, 02:30:26 PM »
So i have no idea how to implement the code directly inside a PM action if it is even possible.. But i did manage to make a non TB-- FG script that sends messages to PM just like Vonchor's mod.

It works good i think.. seems to anyway.

Still more hurdles for me but getting there.

Q

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3985
  • Official Playmaker Support
    • LinkedIn
Re: Using playMaker and FingerGestures
« Reply #25 on: March 29, 2012, 03:13:59 PM »
You can register gesture recognizers in an action... your code actually looks fine. Did you have a Finger Gestures Initializer in your scene?

I think official Finger Gestures actions should be ready very soon!

qholmes

  • 1.2 Beta
  • Hero Member
  • *
  • Posts: 509
Re: Using playMaker and FingerGestures
« Reply #26 on: March 29, 2012, 03:17:27 PM »
Are you collaborating on something.... this would be awesome.. i am making good headway though.

Q

Mark_T

  • 1.2 Beta
  • Junior Playmaker
  • *
  • Posts: 72
Re: Using playMaker and FingerGestures
« Reply #27 on: April 10, 2012, 03:38:51 AM »
I just found William Ravaine has posted the first beta version for his FingerGestures actions. You can find more info in the new FingerGestures Actions for Playmaker  (v0.1) thread.