Hi BreadCaster,
What you need it is a formula to rotate and translare the vertices to form an opening/closing arc.
Have you tried to look at the examples of GET_DISTX and SET_POINT_M8 functions ? are very similar to each other, especially the first, if you look
carefully, moving with the LEFT and RIGHT keys, the triangle turns forming arches in the background circle, and uses her as a pivot point for turning
(control point 0), you should apply a similar formula for each vertex of the door to be moved using the SET_POINT_M8 function, try to do some
experiments. |