Making a magic missile

Well, technically in this lecture we shoot an arrow from a bow, but it is exactly how I imagine a D&D magic missile looking!

I’ve noticed that the arrow asset is not provided in the lecture’s resources, could you fix it please? :slight_smile:

Yikes! I forgot to add it. Thanks for pointing this out. It will be there in a few minutes.

2 Likes

I believe using Vector3 AimLocation => target.GetComponent<Collider>().bounds.center is better since this is common to any kind of collider.

4 Likes

The arrow is landing right in front of the Player tried to figure out with Player postion and Core Object position but seems all fine.
Any idea what could be?

I did reset the position and rotation of ArrowProjectile and Simple Arrow seems working now.

image
After I did the challenge and tried to make the arrow move on my own, I realized that it was unintentionally orbiting my player like a satellite. I already fixed it though. Just wanted to share because I thought it was hilarious!

Don’t fix that bug, call it a feature! Shield of Magic Missile!

3 Likes

Totally agree with @Brian_Trotter, that’s a feature!

Privacy & Terms