playMaker

Author Topic: Why does my raycast not work?  (Read 1786 times)

PalmParadise

  • Playmaker Newbie
  • *
  • Posts: 6
Why does my raycast not work?
« on: November 26, 2017, 10:12:04 AM »
I've been trying to get an AI line of sight working. I need a raycast to do so, but when I try and use a raycast nothing happens. I've put the debug line on but still see nothing. Later states in my FSM do not activate as they rely on the raycast to activate. Please see the image and tell me if any settings are off. Thanks.

https://imgur.com/gallery/cUdwq

600

  • Beta Group
  • Hero Member
  • *
  • Posts: 715
    • Flashing Lights
Re: Why does my raycast not work?
« Reply #1 on: November 26, 2017, 10:14:02 AM »
Set Direction values 0-1
Like forward is x0, y0, z1

PalmParadise

  • Playmaker Newbie
  • *
  • Posts: 6
Re: Why does my raycast not work?
« Reply #2 on: November 26, 2017, 10:16:34 AM »
Jesus that was simple. Thanks a lot man!  :D