bepu / bepuphysics2

Pure C# 3D real time physics simulation library, now with a higher version number.
Apache License 2.0
2.25k stars 261 forks source link

Instability caused by ApplyImpulse #292

Closed bluesillybeard closed 9 months ago

bluesillybeard commented 9 months ago

BodyReference.ApplyImpulse causes instability and weird behavior, specifically when the impulse moves the body into other bodies.

I believe the unstable nature of these methods should at least be noted in their documentation, to avoid confusion. The easy workaround is to use PoseIntegratorCallbacks instead.

bluesillybeard commented 9 months ago

Turns out, I made a mistake, both methods work perfectly fine.