MoodDisorder Posted December 6, 2023 Share Posted December 6, 2023 Hey all, Does anyone have any insight on the math to rotate 90 degrees (smoothly), pausing for x amount of time and then continuing rotations indefinitely this way? looking to do this in VEX as I have hundreds of pieces to rotate over different distances. I just cannot nail this one down for some reason I've attached a quick graph of what I'd like the angle attribute to look like.. Any insight would be really appreciated! Thanks Quote Link to comment Share on other sites More sharing options...
Librarian Posted December 6, 2023 Share Posted December 6, 2023 @MoodDisorder if you don't Find in Vex Try Chop combination. https://www.sidefx.com/forum/topic/87202/#post-376651 1 Quote Link to comment Share on other sites More sharing options...
hannes603 Posted December 7, 2023 Share Posted December 7, 2023 rot_example.mp4 Also you can put it into solver and add the values. clean_rotation_90_deg_orient_vector_shuffle_quaternion.hip Quote Link to comment Share on other sites More sharing options...
dleonhardt Posted December 8, 2023 Share Posted December 8, 2023 Here is an example on how to smoothly rotate with delays in pure VEX, which you could repurpose for your usecase. https://tokeru.com/cgwiki/JoyOfVex17.html#blending_orients Quote Link to comment Share on other sites More sharing options...
MoodDisorder Posted December 21, 2023 Author Share Posted December 21, 2023 Thanks everyone for your replies! These are fantastic. Much appreciated! 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.