Drawing an Arc in 3D

Hey Guys,

im trying to draw an arc in an 3D space. So i have two points p1 and p2 (start and endpoint of the arc) and the angle between these two points. Now i want to draw an arc between these two points but i dont know how to do that :frowning:

EDIT: Of course i have centerpoint too!

I know that i can calculate x and y by using cos und sin functions but i dont know how to calculate the z coordinate :frowning:

Can anybody help me ?

greetings raven22k

Why donโ€™t you go for something like Bรฉzier curve - Wikipedia ? Or generally splines?