playMaker

Author Topic: [SOLVED] Precision of Raycast from Screen  (Read 2082 times)

deewahyu

  • Playmaker Newbie
  • *
  • Posts: 10
[SOLVED] Precision of Raycast from Screen
« on: December 08, 2014, 07:47:30 AM »
I have problem using Raycast from Screen. As you can watch from the video, the coordinate between the game object and raycast source is not same. I put NGUI sprite in the centre of screen. What is the problem?

« Last Edit: December 11, 2014, 12:44:43 PM by deewahyu »

deewahyu

  • Playmaker Newbie
  • *
  • Posts: 10
Re: Precision of Raycast from Screen
« Reply #1 on: December 08, 2014, 07:59:12 PM »
please help me!  :)

deewahyu

  • Playmaker Newbie
  • *
  • Posts: 10
Re: [SOLVED] Precision of Raycast from Screen
« Reply #2 on: December 11, 2014, 12:44:17 PM »
OK, now it's working. I forgot to put FSM component into FPSCamera (main camera)
« Last Edit: December 11, 2014, 12:46:53 PM by deewahyu »