playMaker

Author Topic: Most Pick Event - Mouse Down Issues [SOLVED]  (Read 1445 times)

Tonda

  • Playmaker Newbie
  • *
  • Posts: 31
Most Pick Event - Mouse Down Issues [SOLVED]
« on: February 27, 2016, 03:05:37 PM »
So, I am having a lot of issues making objects in my game clickable, I'm not sure if the issue is colliders or ray distance or what but very often I am clicking furiously with the Mouse Pick Event simply not triggering.

What is the best way to set this up and how is the 'click' determined?

Does adding a big Box Collider help? (and should 'is Trigger' be clicked)
I've been adding those but i can't tell what's working and what's not.

Any tips anyone has to make this work as intended?
« Last Edit: March 01, 2016, 08:52:51 PM by Tonda »

mdotstrange

  • Hero Member
  • *****
  • Posts: 555
    • Can't code? Who cares! Make games anyway!
Re: Most Pick Event - Mouse Down Issues
« Reply #1 on: February 29, 2016, 07:34:21 AM »
I've never used that action but have you tried adding a layer to the layer mask- using the layer your clickable objects are on?
Indie game dev and instructor at the Strange School. Learn Playmaker at the Strange School!

Tonda

  • Playmaker Newbie
  • *
  • Posts: 31
Re: Most Pick Event - Mouse Down Issues
« Reply #2 on: March 01, 2016, 05:40:56 AM »
No not at all, i'll look into that, thanks for the suggestion!

EDIT: Worked like a charm!!!!! Thanks a bunch!
« Last Edit: March 01, 2016, 08:53:34 PM by Tonda »