playMaker

Author Topic: 'Get Mouse X' & 'Get Mouse Y' Problem! help!  (Read 1443 times)

yaida91

  • Playmaker Newbie
  • *
  • Posts: 1
'Get Mouse X' & 'Get Mouse Y' Problem! help!
« on: December 08, 2014, 08:19:12 AM »
In the image I attached, you can see my mouse cursor
positioning bottom left corner of 'unity3d game view'
and you can see 'Get Mouse X' & 'Get Mouse Y' value = (0,0).
so.. how can I positioning these values equal to my "Tranform's positon?"

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: 'Get Mouse X' & 'Get Mouse Y' Problem! help!
« Reply #1 on: May 25, 2015, 10:07:05 AM »
Hi,

 you need to use for example "ScreenToWorldPoint" action which will use screen position and turn it into 3d position, but careful with the depth of your positioning.

 Bye,

 Jean