⑥ Number the waypoints starting from 0, use 0.01~0.99 to describe the position on a certain curve (logically), and then convert them into actual coordinates. When running, you can eliminate the data: ④ The logical length of each curve can be specified, and the program provides an approximate length of the curve to help determine the logical length. ③ On the basis of controlling the forward direction, a variable describing the "strength" of the tangent is added to further control the shape of the curve. In this way, the curve shape can be adjusted directly by rotating. ② Adjust the forward direction of the waypoint, and control the tangent direction of the curve in and out. As long as the number of waypoints is greater than 1, draw a curve, and the curve must pass the waypoint. ① Add, remove, insert, or delete waypoints at will. Actually, this article has nothing to do with this, you can skip the "write in front" part and move to the body part. The basic idea is to meet several basic needs: I recently made a path editor for the project.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |