I am trying to make a basketball shooting system, and I am having an issue where from far distances, the max arc height is not increasing. I want to make an equation for velocity/arc that can have a max arc height that is based off of distance. Here is my current equation that is the issue:
local v0 = (rim.Position - x0 - 0.5*g*t*t)/t;
If anyone knows how to make a projectile arc that can have a max height, please let me know.