playMaker

Author Topic: raycast at an angle  (Read 1793 times)

joesan

  • Playmaker Newbie
  • *
  • Posts: 6
raycast at an angle
« on: September 26, 2014, 03:22:09 AM »
I know I can use a raycast to go forward or upward or backwards but I need it to hit objects on the side of a mountain or roughly on a 45 degree angle. Is there a way to do this?

4ppleseed

  • Full Member
  • ***
  • Posts: 226
Re: raycast at an angle
« Reply #1 on: September 26, 2014, 09:28:19 AM »
In direction, put something in the X and the Y.