Collision is now optimized to avoid checking for entities that are obviously not in the same general region. The test contains a moving ball and about 1500 tiny rectangles to collide with. The naive algorithm can not run in real time while the optimized form works fairly well:
What kind of system did you run it on? I run this under Win8 on a Core i7. It should normally take a moment to start to prepare all the objects, but when it actually runs it should be smooth. Did you upgrade all the source code to the current revision?
Hi,
ReplyDeletethis example (demo_collision) works pretty slow for me. Not like in the video. Why is that?
What kind of system did you run it on? I run this under Win8 on a Core i7. It should normally take a moment to start to prepare all the objects, but when it actually runs it should be smooth. Did you upgrade all the source code to the current revision?
ReplyDelete