patis Posted November 26, 2020 Share Posted November 26, 2020 (edited) Hello, I have noob question. I want these boxes to weaken their random rotation as they move away from the sphere. But I don't know how to set the weakly by distance at vex... Is there anyway for to do that? thank you Rotate By Distance.hipnc Edited November 26, 2020 by patis Quote Link to comment Share on other sites More sharing options...
Librarian Posted November 26, 2020 Share Posted November 26, 2020 Quote Link to comment Share on other sites More sharing options...
patis Posted November 26, 2020 Author Share Posted November 26, 2020 (edited) Thank you! But Sorry, The topic uses a sine wave, and it seems that cannot specify a random value or attenuation distance.. I'm ashamed to say, But I would appreciate it if you could tell me in the project file.... Thank you. Edited November 26, 2020 by patis Quote Link to comment Share on other sites More sharing options...
patis Posted November 26, 2020 Author Share Posted November 26, 2020 (edited) Hi! I set it to affect only the inside of the sphere. But I haven't implemented distance attenuation yet... I need help. Thank you. RotateByDistance V2.hipnc Edited November 26, 2020 by patis Quote Link to comment Share on other sites More sharing options...
nuki Posted November 27, 2020 Share Posted November 27, 2020 (edited) instead of copying the box and then utilizing connectivity it is much simpler to just create points where you want to place your boxes, then copy them there. you can specify an orient attribute for rotations, or you could also use @N and @up for that. since theres no foreach loops its way faster too (try moving the influence object). also added the functionality to your existing node network for completeness. RotateByDistanceV3.hipnc Edited November 27, 2020 by nuki 1 1 Quote Link to comment Share on other sites More sharing options...
patis Posted November 27, 2020 Author Share Posted November 27, 2020 (edited) Thank you so much sir. Your way is so smart... Thank you to setup important param for noobs... Add, I learned a lot of tips in your project! I will enjoy the learning! I really appeiciate for your kindness :'( Edited November 27, 2020 by patis Quote Link to comment Share on other sites More sharing options...
nuki Posted November 27, 2020 Share Posted November 27, 2020 (edited) no problem at all - the cgwiki has some informative entries about quaternions if you want a bit more background on that! Edited November 28, 2020 by nuki 1 Quote Link to comment Share on other sites More sharing options...
patis Posted November 29, 2020 Author Share Posted November 29, 2020 Thank you sir! I didn't know it. This is very useful... 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.