slembcke / Chipmunk2D

A fast and lightweight 2D game physics library.
http://chipmunk2d.net
MIT License
2.22k stars 352 forks source link

The demo crashes whether it's built with gcc or visual studio #235

Closed Lucas-Marcel closed 1 year ago

Lucas-Marcel commented 1 year ago

if i switch to another example it crashes.

Lucas-Marcel commented 1 year ago

It appears that it only works on debug mode.

hbiblia commented 1 year ago

Windows 11 las demostraciones se bloquean cuando los elementos tienen colisión

slembcke commented 1 year ago

I don't have a fix for this yet, and haven't had much time to work on it.

As a workaround you can do space->sleepTimeThreshold = INFINITY to disable object sleeping as a temporary workaround.

Duplicate of https://github.com/slembcke/Chipmunk2D/issues/233. Follow that issue for more information.