I'm using Vector3.Lerp()
to instantiate some prefabs at a set distance from each other. This works, but I've just started playing with Vector3.Slerp
.
This creates a nice arc, however I'd like the arc to happen on either the X or Z axis, not the Y. So rather than arcing up into the air, the prefabs remain in contact with the ground at all times.
I've been reading up on euler local transforms
however I'm not entirely sure if that's the right thing.
If anyone could offer some advice, or input, I'd greatly appreciate it.