Hi I want to make a projectile with body velocity.
I saw the post made by @EgoMoose Modeling a projectile’s motion
It uses the part’s velocity and CFrame, but I want to know how to replicate it using renderstepped and body velocity. I have an idea of how to do the Y component of the body velocity, but I am lost how to do it for the X and Z.
How it is supposed to work is that I click on a spot, and it travels to that spot. The Y angle should be consistent, 45 degrees. I also have a formula to find the needed Velocity. Velocity = sqrt(Magnitude between points * gravity). But I am not sure if this works with the X and Z component being different compared to a 2d.
Basically, I just want to figure out how to make a projectile with body velocity, and it lands in the spot that you click on.