JSGame icon indicating copy to clipboard operation
JSGame copied to clipboard

Implement simple physics class

Open thomas-alrek opened this issue 9 years ago • 1 comments

GameObject should have a Physics prototype, that implements a crude physics engine. This engine should also take into consideration each GameObjects rotation, if possible, and implement methods such as addForce().

We might consider addign support for friction too.

thomas-alrek avatar Apr 27 '16 21:04 thomas-alrek

Use this as a reference http://gamedevelopment.tutsplus.com/tutorials/how-to-create-a-custom-2d-physics-engine-the-basics-and-impulse-resolution--gamedev-6331

thomas-alrek avatar May 12 '16 09:05 thomas-alrek