playMaker

Author Topic: Mouse global events not working  (Read 2955 times)

Skaeren

  • Playmaker Newbie
  • *
  • Posts: 11
Mouse global events not working
« on: November 29, 2015, 02:12:12 AM »
Using latest version of unity and playmaker at time of this post.

Create new project > import playmaker
import sprite > create 3d object > place same playmaker fsm on both

The FSM has 5 states. Start, mouse over, mouse exit, mouse down, mouse up. Each of the mouse events has the appropriate global transition. They do not work. I have done the same thing 5 times, even switching between 3d and 2d setup, without success.

What am I doing wrong?

mdotstrange

  • Hero Member
  • *****
  • Posts: 555
    • Can't code? Who cares! Make games anyway!
Re: Mouse global events not working
« Reply #1 on: November 29, 2015, 03:53:04 AM »
Are you using the "Mouse pick event" action with the transitions?
Indie game dev and instructor at the Strange School. Learn Playmaker at the Strange School!

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Mouse global events not working
« Reply #2 on: November 29, 2015, 08:48:02 AM »
Hi,
Mouse pick events actions are not needed when using "system events" transition.

i just tested on latest version and everything seems to work fine.

Maybe your objects don't have a collider component?

Skaeren

  • Playmaker Newbie
  • *
  • Posts: 11
Re: Mouse global events not working
« Reply #3 on: November 29, 2015, 06:09:02 PM »
With or without the collider; using box, mesh and an appropriate 2d collider, it does not function for me

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Mouse global events not working
« Reply #4 on: November 29, 2015, 07:18:35 PM »
Hi,
made a video to show that they should work on latest unity version 5.2.3


jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Mouse global events not working
« Reply #5 on: November 30, 2015, 06:18:34 AM »
Hi,
 
one thing to make sure off, is that you have not created the MOUSE DOWN event yourself, but instead use the one from the event selection menu under "System events".

 Can you confirm this?

 Bye,

 Jean