Jump to content
Rsburke

Applying RBD Torque With POP Forces

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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×