Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

What is a more accurate way of detecting projectile collisions?

Asked by 4 years ago
Edited 4 years ago

I am in the process of creating magic attacks and I have stumbled into a predicament. I have created a projectile launcher to simulate the effect of another player launching a magic attack.

This is the effect I want for all speeds for any projectile:

https://gyazo.com/78c6048ce07d57def4cebb5f94ab94a0

But this is what ends up happening if there is a high speed:

https://gyazo.com/cedc7f1deef0bf8e06ef3efd35865659

I am currently using .Touched, but I would really like a more reliable way. I have done some research and it looks like raycasting is a good away to go about this but a lot of the resources I have looked at are for bullet collisions. I want accurate collisions for parts of a reasonable size that will keep the same visual effects. Thank you for reading.

1 answer

Log in to vote
1
Answered by
iuclds 720 Moderation Voter
4 years ago

https://devforum.roblox.com/t/how-to-reflect-rays-on-hit/18143

0
I read through the article but it doesn't seem to account for larget projectiles iGlaciem 72 — 4y
Ad

Answer this question