Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: nilton_felicio on May 12, 2012, 08:04:18 AM

Title: Get x and z coordinates of the mouse on the game object.
Post by: nilton_felicio 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.
Title: Re: Get x and z coordinates of the mouse on the game object.
Post by: Alex Chouls 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.