playMaker

Author Topic: [SOLVED] Raycast Look At Moving Object  (Read 1402 times)

essejmclean

  • Playmaker Newbie
  • *
  • Posts: 5
    • jessemclean.ca
[SOLVED] Raycast Look At Moving Object
« on: June 14, 2015, 09:41:23 PM »
Hi all;

Wondering if it's possible for a Raycast to direct itself/look at a moving object.

I've got a cube that I want a Raycast shooting out of and a player character that will be moving. How can that Raycast always look at the player, so that if the player comes within 'x' distance, the Raycast will register a hit?

I've been working my way through this, but to no avail.

Thanks.

j
« Last Edit: June 14, 2015, 10:18:28 PM by essejmclean »

essejmclean

  • Playmaker Newbie
  • *
  • Posts: 5
    • jessemclean.ca