hxcollision 1.1.0 stable
This release adds many bug fixes and some new examples thanks to @Dvergar, documentation, and a much needed api cleanup of the code toward a more consistent reliable library.
- Added documentation and clean up of code
- Renamed
Vector2D
toVector
and cleaned up code to ONLY what is needed. This class is meant to be as small and easy to integrate as possible. - Refactored for easier maintaining in embedded libraries
- Added documentation and clean up of code
- Renamed
BaseShape
toShape
, continued refactoring - Renamed
Collision.testShapes
toCollision.test
- Renamed
Collision.testShapeList
toCollision.testShapes
- Renamed
Collision.rayCollision
toCollision.ray
- Fixed various bugs in collisions
- Fixed
separation
/unitVector
behaviour (signs bugs) - Fixed bug with
Polygon
/Polygon
collisions not returning best vectors - Fixed bug where you couldn't
beginFill
usingOpenFLDrawer
- Fixed
collisionData
inCheckCircles
, shape2 wasn't assigned. separation
/unitVector
is now bound to shape1- Added 2 samples (usage2 & usage3)
- Added
drawVector
inOpenFLDrawer
showing vector direction - Added
drawShape
inShapeDrawer
, will cast proper types and call appropriate drawing functions.