Jump to content
Sega

Two state constraint

Recommended Posts

I`m trying to figure how two state constraint works, everything that i tried didn`t work, documentation doesn`t look helpful and i can`t find any examples. 2nd and 3rd inputs say that "accept 2 of", does this mean that i should put both constraints in one input ?

Actually my goal is to set constraint active in some frame ( when object moved from it`s original postion ), but when i do it, object returns to its rest pos, seems like constraint using rest and origin vectors. Two state is a last idea i have to try.

Share this post


Link to post
Share on other sites

Hi Stan, please, did you manage to make it work? The "Two State" dop seems useful. Or anybody else might help, please?

Share this post


Link to post
Share on other sites

Paul thank you very very much! Yes I will stick to this custom solver solution. I am still learning these constraints, this geo solver is most future proof probably.

For others, I will post nice examples of constraints solvers, which I watched in past few days, when I was learning:

https://vimeo.com/151731303

http://forums.odforce.net/topic/20640-bullet-dynamic-constraint-creation/?do=findComment&comment=140668

http://forums.odforce.net/topic/20691-realistic-dynamic-fracturing-with-bullet/?do=findComment&comment=124444

 

Edited by ikoon
I have added one more link

Share this post


Link to post
Share on other sites
1 hour ago, ikoon said:

Hi Stan, please, did you manage to make it work? The "Two State" dop seems useful. Or anybody else might help, please?

I solved my problem just by creating new simulation when i need to change constraints and i used previous sim data to continue simulation

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

×