If I had object A located at world position 0,0,0 and an object B at world position 2,2,0, how would I go about calculating a smooth curve along the Z plane of those two objects with Python? Preferably with low resolution, like 3 or 4 steps between the two objects. My aim is to be able to get the coordinates(or nearest) of those points along the curve. Even more ideally, I would like to be able to adjust the height of the curve(anywhere between a flat line and spherical curve).
I’m sure this is possible, I’m just not sure where to go after getting the vector between the two points. Actually, getting the vector initially might not matter. Any help?