I've been working on this engine for quite a while now. it currently features:
circle-circle collisions
line-circle collisions
line-line collisions
the circle to circle and line to circle collisions are time based, meaning they won't pass over eachother when they are moving really fast. Line to line time based collisions are soon to come but my current idea for it is very slow.
will i release the source? If i get some complements or some constructive criticism ;) .
Theres still *a lot* of things i need to add, including documentation, even though the demo might seem near complete. Some of the things i need to add are:
>rolling balls
>making polygons seem non-hollow (they are joined lines)
>friction between circles and lines. think jumping on a moving platform and not moving with the platform.
>faster time based line-line collision
>a method to handle collisions between parralel lines
use WASD to move turret, mouse to aim, and click to fire. The balls are shot at 100 pixels per loop to test the time based collisions.
http://agogsoft.com/physics3.zip
circle-circle collisions
line-circle collisions
line-line collisions
the circle to circle and line to circle collisions are time based, meaning they won't pass over eachother when they are moving really fast. Line to line time based collisions are soon to come but my current idea for it is very slow.
will i release the source? If i get some complements or some constructive criticism ;) .
Theres still *a lot* of things i need to add, including documentation, even though the demo might seem near complete. Some of the things i need to add are:
>rolling balls
>making polygons seem non-hollow (they are joined lines)
>friction between circles and lines. think jumping on a moving platform and not moving with the platform.
>faster time based line-line collision
>a method to handle collisions between parralel lines
use WASD to move turret, mouse to aim, and click to fire. The balls are shot at 100 pixels per loop to test the time based collisions.
http://agogsoft.com/physics3.zip