playMaker

Author Topic: Raycast from touch position[SOLVED]  (Read 1904 times)

Khoa1994

  • Playmaker Newbie
  • *
  • Posts: 33
Raycast from touch position[SOLVED]
« on: June 25, 2014, 03:04:37 PM »
In my game, my camera move a round a big rectangular box. When I tap the rectangular box on the touch screen, I want to shoot a ray straightforward from the touch position and determine the position that the ray hit the rectangular box.

I try using the "RaycastFromScreen" action (http://hutonggames.com/playmakerforum/index.php?topic=2921.msg37122#msg37122) but it doesn't work.

I'm stuck. Please help me.
« Last Edit: July 10, 2014, 08:43:52 AM by jeanfabre »

Khoa1994

  • Playmaker Newbie
  • *
  • Posts: 33
Re: Raycast from touch position
« Reply #1 on: July 05, 2014, 01:57:29 PM »
Figure out how to use the "RaycastFromScreen" action.