Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
2D version of grappling hook demo
#2
Using 2D mode for 2D physics is a must Guiño.

Even if all your initial particle positions are 0 in the z axis, the slightest numerical precision error can introduce non-zero values in the z axis resulting in unintended behavior. 2D mode actually skips the z component in all internal math operations, so that this can't ever happen. If you're using regular rigidbodies, constraining them to the XY plane is also a good idea because of the same reason.

Increasing the amount of substeps will greatly improve the quality of the simulation. See:
http://obi.virtualmethodstudio.com/tutor...gence.html
Reply


Messages In This Thread
2D version of grappling hook demo - by EmmetOT - 13-04-2020, 04:44 PM
RE: 2D version of grappling hook demo - by josemendez - 13-04-2020, 06:55 PM