Jump to content

VOP force in dops


Recommended Posts

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

Link to comment
Share on other sites

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 by CTEffects
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...