I think the question is self explanatory. Im actually evaluating which physics engine performs best.
If you have other proposals, it would be good to know about them!
Cheers.
I think the question is self explanatory. Im actually evaluating which physics engine performs best.
If you have other proposals, it would be good to know about them!
Cheers.
As linked in the other physics thread - you can compare and test performance in various scenarios using this benchmark.
Sorry, i didnt notice it. Thank you for the reference!
Shall i delete this thread?
it’s fine. my experience with cannon is that it’s very slow, i would not use it these days. it’s on life support via pmndrs/cannon-es but they only fix minor issues, major issues would often require a rewrite. rapier is maintained, it is quite fast. i haven’t tried the others yet.
After playing for a while, PhysX seems to be the most realistic at most cases. In some example, some engines fall apart and become very unrealistic such as objects constantly bouncing, or objects squeezing through surfaces when they shouldn’t.
It was hard to benchmark though, because most examples go full speed on my machine (a dinky little 8MB MacBook Air M2 2022). But one can fork the examples to add many more objects, to make it more intensive.
The examples also show FPS, but they could be updated to show how long they take per frame regardless of FPS (useful if all of them go full speed, to know what portion of a frame they took).