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

What is the best way to make a blockable projectile?

Asked by
tumadrina 179
2 years ago

Hello, I want to know what the best way to make a blockable projectile is. I have tried using touch but it isn't always the most reliable. I have tried using CFraming and Tweening but those don't work well with collision detection. I would like to what the best way is of going about making a projectile that can detect things that it touches. Also I would like to eventually make the projectile moved in cool ways (like curves and stuff). I know this will probably involve a bit of math but I'm not scared of it at all. Any resource that I could use to learn would be really great, or anything that points me in the right direction I would really really appreciate. Thank you for your time!

0
So this may help you at make curve effect and stuffs,and you can use the touch thingy to detect when the ball hit anything without humanoid and got blocked,if you dont understand and cannot make the code,just ask me(the curve thing is literally using maths as u said lol) https://developer.roblox.com/en-us/articles/Bezier-curves lamgogo 56 — 2y

1 answer

Log in to vote
0
Answered by
xXMadonXx 190
2 years ago
Edited 2 years ago

You are going to want to use Raycasting. Read about it here: Raycasting Guide

Ad

Answer this question