2020-06-08 02:10 PM - last edited on 2022-09-26 10:53 PM by Daniel Kassai
angle=0 for i=1 to iRebar_num-1 angle=i*360/iRebar_num rot2 angle hotspot2 0, 0, unID, angle_2, 6 : unID=unID+1 hotspot2 mRebarDis,0,unID,angle_2,4+128 : unID=unID+1 hotspot2 (mRebarDis*cos(angle_2)),(mRebarDis*sin(angle_2)),unID,angle_2,5 : unID=unID+1 add2 (mRebarDis*cos(angle_2)),(mRebarDis*sin(angle_2)) poly2_b 2, 1+2+4+64, gs_fill_pen, gs_back_pen, 0, 0, 901, rKei/2, 360, 4001 del 2 next iBest regards,
Solved! Go to Solution.
2020-06-08 05:29 PM
2020-06-08 05:29 PM
2020-06-09 03:30 AM
2020-06-09 05:34 AM
runxel wrote:Thank Lucas so much.
Hey there
Try this one.
Basically the idea is to store the rotation offset from the current point into an array.
Good luck!