天城守卫 Posted October 22, 2017 Share Posted October 22, 2017 I want to rotate point one by one,so i can keep the line's length. I use For loop SOP,because it has feedback ,update P every time. but For loop is too slow,when i have a lot of points. I want to know how to achieve this with VEX "for loop" function. rotate one by one.hip Quote Link to comment Share on other sites More sharing options...
mestela Posted October 22, 2017 Share Posted October 22, 2017 Here, its basically the same idea as the curve unroll thing I posted here a few days ago. The idea is to move each segment to the origin, rotate by the accumulated rotations up to the current point, put back to the accumulated rotated positions (full credit goes to another odforce post on this sort of rotation trick I stumbled upon) rotate_vex.hip Quote Link to comment Share on other sites More sharing options...
天城守卫 Posted October 22, 2017 Author Share Posted October 22, 2017 2 hours ago, mestela said: Here, its basically the same idea as the curve unroll thing I posted here a few days ago. The idea is to move each segment to the origin, rotate by the accumulated rotations up to the current point, put back to the accumulated rotated positions (full credit goes to another odforce post on this sort of rotation trick I stumbled upon) rotate_vex.hip Thank you so much! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.