playMaker

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

nilton_felicio

  • Playmaker Newbie
  • *
  • Posts: 16
Get x and z coordinates of the mouse on the game object.
« on: May 12, 2012, 08: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: 3987
  • Official Playmaker Support
    • LinkedIn
Re: Get x and z coordinates of the mouse on the game object.
« Reply #1 on: May 12, 2012, 02:41:06 PM »
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.