playMaker

Author Topic: Mouse Pick Issue  (Read 1749 times)

JimmothySanchez

  • Playmaker Newbie
  • *
  • Posts: 2
Mouse Pick Issue
« on: November 14, 2013, 10:41:55 AM »
I'm having an issue with Mouse Pick. I'm new to playmaker so it's possible that I'm making a rookie mistake but I've looked through previous help posts and I can't find anything that seems to solve my problem. I've created an interaction manager FSM on the main camera in my scene.  My FSM listens for a right click event and then fires off a Mouse pick action. The mouse pick fires correctly but no matter what I click on the "Store Did Pick Object" is always false.  I've made sure that the objects in my scene have colliders on them, and I have set the ray distance up to some ridiculously high value but still nothing works. I am running this on the new Unity 4.3 build. Is there any chance 4.3 breaks Mouse Pick?

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Mouse Pick Issue
« Reply #1 on: November 14, 2013, 11:04:14 AM »
Seems to work alright for me. Are you using the layer mask?

Here's an example.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

JimmothySanchez

  • Playmaker Newbie
  • *
  • Posts: 2
Re: Mouse Pick Issue
« Reply #2 on: November 14, 2013, 11:32:41 AM »
No I'm not, should I be? I'm not at my machine so i can't test the example right now, but I will tonight.  Thanks for the reply.

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Mouse Pick Issue
« Reply #3 on: November 14, 2013, 11:36:12 AM »
Nah, I was just thinking the only thing that would make it not work would be if you were using the Layer Mask to pick from only one layer, or if you had it at default but checked Invert Mask.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D