Im having some trouble figuring out what to use for spell projectiles. Im creating this wizard-like game and im basing the mechanics off other games such as Magic Training (or other harry potter based games).
Im unsure how i can create spell projectiles such as theirs and im looking for guidance.
Help would be greatly appriciated, thank you for your time
I would create two parts (a start part, and an end part) and weld constraint them. These two parts should be a distance away that you want to be equal to the physical length of the spell.
Next, you can create a beam in between the two parts.
Finally, when the player casts a spell, you can clone the parts and set the CFrame of the start part to the tool. Add a linear velocity inside one of the parts to make it move.
I will try to send an example video as soon as I can.
I know the effects themselves aren’t great and the projectile is kind of slow, but this is just for the sake of an example. You can, of course, create better effects yourself.
Here is what the explorer looks like:
The parts are massless, unanchored, and canCollide is false. Make sure the linear velocity is relative to the attachment, not to the world.
If you have any questions, feel free to ask.