playMaker

Author Topic: Get x and z coordinates of the mouse on the game object.  (Read 1525 times)

nilton_felicio

  • Playmaker Newbie
  • *
  • Posts: 16
    • View Profile
Get x and z coordinates of the mouse on the game object.
« on: May 12, 2012, 05:04:18 AM »
Playmaker bought less than a month and am very satisfied.
My congratulations on the excellent work.
As I am not a programmer that came to save me.
Let the question.

I need to get the x and z coordinates of the mouse on the game object.

Pick Using Mouse Event for mouse over, so far OK no problem.
But the position of the mouse over that object x and z Every Frame as I get caught?

I noticed only options to get the mouse position coordinates of the screen

Sorry for my English.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3634
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: Get x and z coordinates of the mouse on the game object.
« Reply #1 on: May 12, 2012, 11:41:06 AM »
You can use the Mouse Pick action:
https://hutonggames.fogbugz.com/default.asp?W415

Use Store Point to get the world position of the picked point.