playMaker

Author Topic: Mousedown seeing "through" other objects[SOLVED]  (Read 1440 times)

indeed

  • Junior Playmaker
  • **
  • Posts: 85
Mousedown seeing "through" other objects[SOLVED]
« on: February 11, 2015, 11:03:55 AM »
Hi, I have a scene with a Cube that I click to rotate it. I added the MouseDown event to trigger it and it works great. But, in front of the cube there is a wall, and it registers the mousedown through the wall, so the cube starts rotating when you can't even see it. Is there a way to do it so that other objects in the scene block the mousedown event so it only works when the Cube is visible?

PS, definitely new to playmaker so apologies if I'm missing something obvious.
« Last Edit: August 18, 2015, 02:09:56 PM by jeanfabre »

indeed

  • Junior Playmaker
  • **
  • Posts: 85
Re: Mousedown seeing "through" other objects
« Reply #1 on: February 11, 2015, 12:17:07 PM »
Oh! Had to add colliders to the walls. Works now.