playMaker

Author Topic: mouse pick on object in 2nd camera  (Read 1316 times)

mthicke

  • Playmaker Newbie
  • *
  • Posts: 11
mouse pick on object in 2nd camera
« on: March 10, 2014, 11:36:13 PM »
How do I register a mouseclick on an object on a 2nd camera? It seems like all of the mouse actions are based on the main camera.

Is there an OnMouseDown action?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: mouse pick on object in 2nd camera
« Reply #1 on: March 11, 2014, 06:45:31 AM »
Hi,

 I would use "Raycast" and use the 2nd camera as the source of the raycast.

 what are you trying to achieve? is it like a minimap selection thing?

bye,

 Jean