playMaker

Author Topic: creating game object off of raycast line?  (Read 1051 times)

Captaincrud

  • Junior Playmaker
  • **
  • Posts: 72
creating game object off of raycast line?
« on: May 27, 2016, 11:29:31 PM »
So basically think of a basketball player i need to ray cast from the players eyes to the hoop(this is easy).

 I need to measure out from said sight line and at a number lets say 5(easy set ray cast to 5)

  halfway spawn a basketball.(stumped on how i'm getting the vector 3 from the raycast.)

then create object to make ball (easy)