stephenl Posted October 14, 2011 Share Posted October 14, 2011 So I calculate rock's velocity by using a vop force with cross product of their position and a y-up vector. As the rocks rotate around the center, they also move away from the center. How can I get them to rotate around center (as they are doing) and stay relatively the same distance away from center? I'd rather use vop force than any other preset force because I'm also doing other things Thanks, Stephen Quote Link to comment Share on other sites More sharing options...
CTEffects Posted October 14, 2011 Share Posted October 14, 2011 (edited) So I calculate rock's velocity by using a vop force with cross product of their position and a y-up vector. As the rocks rotate around the center, they also move away from the center. How can I get them to rotate around center (as they are doing) and stay relatively the same distance away from center? I'd rather use vop force than any other preset force because I'm also doing other things Thanks, Stephen Yeah, you simply apply an inward force that increases with their current distance from the center. I've attached an example. It's a very simple setup, and the node is called "vop_InwardForce" The objects' distance of from the origin will reach a stable equilibrium relative to their radial velocity. Vortex.hip Edited October 15, 2011 by CTEffects Quote Link to comment Share on other sites More sharing options...
stephenl Posted October 15, 2011 Author Share Posted October 15, 2011 Yep works perfectly - thanks, stephen Quote Link to comment Share on other sites More sharing options...
zglynn Posted October 15, 2011 Share Posted October 15, 2011 Very cool stuff. This could come in handy for sure! 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.