Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
54 views

Matter.js - Handling collisions at high object speeds in matter.js

I'm currently working on a space flight simulator using matter.js as a game engine. I'm facing a problem with the huge size of the map. If we consider that 1 metre is 10px (adjusted to the size of ...
Hackirus's user avatar
3 votes
0 answers
197 views

WARN: matter-js: Matter.Engine.update: delta argument is recommended to be less than or equal to 16.667 ms

I am using matter-js with react-native-game-engine to create game with a falling body. And then, in setupWorld() function I am defining them, like this: class GameScreen extends Component { ...
JeremyFc's user avatar
  • 232
1 vote
0 answers
458 views

Matter.js: after call setVertices on body his collisions are not updated

I use matter.js physic engine for my game. I updated body vertices with call setVertices but after call his collisions are not updated, so other object does not fall. Maybe I skipped some basic ...
Ararat's user avatar
  • 143
3 votes
1 answer
4k views

How to move body to another position (with animation) in Matter.js

How can I move a circular body to another position with an animation? When I use translate(), the object disappears and reappears instantly at the new position. I'm developing simple game. The player ...
Skodsgn's user avatar
  • 981
2 votes
0 answers
857 views

The matter-js startCollision is not working

I am new to matter-js and am attempting to build a simple game using react native, react native game engine, and matter-js. The game is circles appear on screen and they are growing. The user needs to ...
BB Developer's user avatar