Jump to content
dark_cry

update linear and angular vel based on another object in bullet sim

Recommended Posts

Hi, 

I have a case where I have, lets say an object which comes from bulelt sim, with v and w. 

Based on that object, I want to drive another bullet sim, updating v and w, so the rest would be calculated by bulllet sim. 

In the scene I attached it works pretty much,  except it flips at some point. I understand that there should be some catches on quaternions. I suppose, there should be some sort of angle check and etc, but can't make it work... 

 

 

 

update_angularv.hip

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

×