How to make a aiming system for my missile launcher? (PHYSICS!)

Alr, so I’m tryna make this rocket launcher and I want it so that once a position is chosen , the actual launcher goes up a certain amount and the rocket is launched. I want it so that the rocket uses physics maybe rather than CFrame, is possible. Im tryna make it so that the launcher goes up the amount needed for the missle to just fire (with some force) and it will land on coordinates. TLDR: So basically aim the launcher, apply force to the missile, angle of the launcher should make the missile hit the target position. Idk what I would do for this. Can someone help me get started and give me advice / pseudo code if possible of what to do?

EDIT: I was messing around and Vectorforce seems pretty nice?

1 Like

What I would do is create a part where the camera is looking/the mouse is pointing and make the missile go to that part, I’m not sure how to create a gravity effect (that’s what you want, right?) but what I would do is make the part go down on the Y axis ever y tot seconds, creating some kind of gravity effect, hope this helped (I don’t know how to code all of this sorry :sweat_smile:)

1 Like

thats not exactly what I needed but thx. I wanted it so that the actual part that holds the missile would move upwards degrees and turn sideways until it is pointed at the target and a force could be applied to the missile and the missile could just hit the target.

Ok for that I don’t have any idea sorry :rofl::rofl::rofl: it’s too hard for me, but maybe if you can also implement a gravity system, it may work

Please stop creating more posts for this. Stick to one post and ask your questions there.

1 Like