Page 1 of 1

Modeling a Rotating Off-Center Mass

Posted: Tue Mar 10, 2015 2:10 am
by rieffelj
I'd like to model a small vibrational motor (like a pager motor). Typically these work by spinning an off-center mass around an axis. Any advice on how to go about doing this in Bullet Physics?

To complicate matters, I'd like the motor to be attached to a soft-body, and to not collide with anything.

thanks!

Re: Modeling a Rotating Off-Center Mass

Posted: Wed Mar 11, 2015 5:05 pm
by Basroil
I assume you're trying to do FEM like calculations? If so, you should check out some of the FEM experiments on bullet's github.

In general though, consider if you need to simulate the spin or can actually calculate it directly, direct calculation with torque and forces might make soft body simulation more stable.