Jump to content

Another collision detection discussion


mcfly
 Share

Recommended Posts

7 minutes ago, ivan.popelyshev said:

I remember back then i used box2d or box2d port with fluids, but of course now im doing it , but it was in 2014. I didnt even measure it back then, but yes, box2d was very performant :)

if your say it , i trust you, because your are Ivan, but i want just say the bench upper are not a good valide bench data ref!
we can't take those data for ref.

Edited by jonforum
Link to comment
Share on other sites

Hi @jonforum I didn't make that test but if you click on the links above it should show the same "tumbler test" using the different engines, you can then see the FPS for your machine. The hard coded FPS are those achieved by finscn on his machine, they aren't "dynamic"

 

@ivan.popelyshev I personally liked matterJS as it wasn't too old and had good documentation and was really easy to get running with PIXI. However as @mobileben has used both this and the typescript box2d and has demonstrated that box2sd is more accurate I am going to look into this in more detail before making a decision.

I think if you wanted something quick and easy matterJS would be acceptable but perhaps box2d might be more accurate in the long run. 

I think this is also a good contender: https://github.com/shakiba/planck.js 

It is a javascript rewrite of box2d and still has an active repository.

 

 

Edited by macshemp
Link to comment
Share on other sites

hum from individual test on Vivaldi browser (chromium) ~2sec test, ms per frames . (100% cpu usage for all!).
It a fast test, if you guys can also take and shares same kind of screen plz.


Hardware.
2iS8vZYL_o.png
Result
g06LMYgn_o.png
link source code used: 
http://fatidol.com/phy-benchmark/
 

Edited by jonforum
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...