Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Large forces causing objects to fly
#3
(05-07-2018, 08:45 AM)josemendez Wrote: You could increase the solver's "damping" parameter (which will increase the rate at which the chains lose kinetic energy):
Code:
solver.parameters.damping = whatever;
solver.UpdateParameters();

The standard approach to this however, is to let the user manipulate stuff trough a physical constraint (such as a spring) instead of directly. This way the user can influence the physics, but not "override" them, as in grabbing and moving things around completely ignoring the physical laws of the simulation.

Thanks for the quick reply and for the suggestions! I'm already using a very high damping so I'll give the spring idea a go.
Reply


Messages In This Thread
RE: Large forces causing objects to fly - by StevenHolwerda - 06-07-2018, 02:43 AM