Yeah this is for a 3D vector, 2D is easy.
The radius was meant so that x and z values would be taken from a 'cross-section' circle of a larger sphere.
However, I must have done something wrong there as that doesn't work.
Edit:
Wow you posted just a few seconds before me!
I'll try parenting a pivot to my entity and see how it goes.
I was hoping for some formula's, but as long as it works I'm grateful.
Thanks.
The radius was meant so that x and z values would be taken from a 'cross-section' circle of a larger sphere.
However, I must have done something wrong there as that doesn't work.
Edit:
Wow you posted just a few seconds before me!
I'll try parenting a pivot to my entity and see how it goes.
I was hoping for some formula's, but as long as it works I'm grateful.
Thanks.