Solved
arrow head
Posted on 2007-04-01
Hi,
I've asked this question a few times but still can't understand the answers. I need a really dumbed down answer.
I have two points in 3D space:
Point1: (x,y,z)
Point2: (x,y,z)
I want to draw an arrow from point1 to point2. At point2 I'd like to draw a pyramid cap to mimic an arrow head. So I need to know how to generate an additional 4 points that are equally distributed around point 2 - if I connect them all to point 2 it will look like a pyramid whose tip is point2.
Can someone please tell me how to fill this in then (the four generated base points of the pyramid arrow head):
base_pt_0 = (x,y,z);
base_pt_1 = (x,y,z);
base_pt_2 = (x,y,z);
base_pt_3 = (x,y,z);
If it is any easier - I could also draw a cone shape for the arrow head - i guess just like 16 points or so evenely distributed around point 2.
Thanks