Peter Quint Posted December 19, 2009 Share Posted December 19, 2009 This one has me beat. I'm looking for a way to simulate an object attached to say a rope - so that it initially falls freely and then becomes constrained when the rope becomes taught. So a perfect case for a two state constraint with a distance based switch between states, I thought (the spring constraint set with a rest length appears to push the object as well as pull it, which a rope would not do). But the constraint seems to stick rigidly to its first (unconstrained) state. There's probably some obvious mistake, but I'd appreciate any help. Thanks Petertwostate.hipnc 1 Quote Link to comment Share on other sites More sharing options...
anim Posted December 20, 2009 Share Posted December 20, 2009 in order to measure the length I think it needs to be spring constraint (even with zero strength). Then the Two State Constraint would work look at the file but you can encounter unstable behavior at high strength settings of the second spring you may consider using only one spring constraint and blend in strength(maybe damping too) with expression based on distance with a little falloff to avoid unstability a bit. The distance can be obtained with dopfield() expression twostate_fix.hipnc Quote Link to comment Share on other sites More sharing options...
Peter Quint Posted December 20, 2009 Author Share Posted December 20, 2009 Thanks. Perfect. in order to measure the length I think it needs to be spring constraint (even with zero strength). Then the Two State Constraint would work look at the file but you can encounter unstable behavior at high strength settings of the second spring you may consider using only one spring constraint and blend in strength(maybe damping too) with expression based on distance with a little falloff to avoid unstability a bit. The distance can be obtained with dopfield() expression Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.