Jump to content

Applying RBD Torque With POP Forces


Rsburke

Recommended Posts

Hi there,

I'm trying to learn vex, but I've run into a bit of trouble with the RBD solver. My goal is to apply forces to individual points on a model, and have the model respond appropriately. My first assumption is that I would use a bulletRBD solver to accomplish this, along with a POPForce node. However, this applies force to the center of mass of the object, which is fine, but I also want some rotational values as well.

For instance, if I have a cube, and I apply force (0, 10, 0) to verts on the left side of the cube, and I apply the opposite force (0, -10, 0) to verts on the right side of the cube, I would like to see the cube spin. I know I can manually edit the @w attribute to add angular velocity, but do I have to calculate the angular velocity manually to make this work?

Thanks for your help.

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...