I adapted the code for my game a bit, I left out the particle explosions and stuff.
I have the plane firing out of the arrow. At the moment, the arrow is controlled by the mouse. I do want to change that by automating the arrown and only firing where it stops when the player clicks the mouse. That'll be some code I guess, idk how to find it :(
In the image, there's lots of planes because I would change the amount of time between 'fires' to really long. They've stopped where they've gone into each character's collider. Kahu, Teacher, and the rest is miss. I'll need to trigger some text saying what's happened, which will determine what scene the player goes to next to continue the story.
I just found this Unity video tutorial that I think I'll be able to manipulate to how I want paper plane throw to be like. Fingers crossed.
I tried to make this game, it's for an old version of unity and the UI score and stuff didn't quite work. But the raycasting and the rotating will definitely work for my paper plane throw minigame I'd say. I'll need to parent the plane to the arrow, which is a bit off from how I imagined it, but whatever makes it work is best.
This is another video about shooting, two different ways.
I finally got it working on my arrow and plane
The origin is where it stops, not where it starts, which is what confused me. The next step is some UI which triggers when the plane flies into each outcomes tag collider. which is more fun fun coding -_- these colliders better work. Another day though cos I am tired.