-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can Matter.js be integrated into a Hexi game? #44
Comments
@gkjpettet Yes!
Then, inside your game loop (the
That's it! I experimented with a few physics engines and overall found MatterJS to be the easiest to use, learn, and integrate into Hexi. |
Oh, there's one very important thing I forgot! MatterJS's x/y alignment is to the centre of the body.
|
Epic! Thanks for this! I'll get straight to tinkering. Thanks a lot for Hexi - it's really useful. |
Is it possible to integrate a 2d rigid body physics engine into Hexi, specifically matter.js? Not sure if you have any experience in this area and just looking for a pointer in the right direction.
The text was updated successfully, but these errors were encountered: