Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Thanks for the advice. Is it good idea to bind HTML or SVG element position with Matterjs objects/bodies?

For example, drawing circle or polygon as an SVG element (e.g <circle> or <path>) then move it using Matterjs.

(+1)

 As long as you can update your element position with a proper loop,  anything should work with matter js.  The documentation is well done, so you wouldn't have an issue with binding svg elements. That being said, it all boils down to the code you write. I can assure you that the physics engine works very well.