How would I go about launching objects?

Hello! I’m working on a game where the player is given abilities, one of these abilities is launching weapons from portals summoned by the player. I have thus far set up everything up to this point, actually launching the weapons.

The goal is when the player clicks a location with their mouse, the weapons launch to that location. I also need to stop the weapons when they hit something solid so it doesn’t either stop in mid air or phase through everything. I thought about using CFrame with TweenService but I can’t figure out how to properly do that…

any thoughts? Thank you in advance.

EDIT: I figured out how to launch objects but now the problem is that they all bunch together in the same spot.

1 Like

I’m not sure if this would help you, but this example gun uses fastcast to launch small lasers and stop when hitting parts
https://www.roblox.com/library/4453914752/FastCast-Redux-Example-Gun

2 Likes

This might actually help, if not for this project. Defiantly for other ones.

1 Like