2.4.0 Minor Release
Transform2D Enhancements:
- New Functions:
UpdateTransform: Updates the transform.GetChildTransform: Retrieves the transform of a child object.
Collider Enhancements:
- Uses UpdateTransform Function: The Collider now leverages the
UpdateTransformfunction. - Cleanup: General cleanup for better performance and maintainability.
Function Changes in Shapes:
- ApplyTransform/ApplyTransformCopy:
- Changed to
ApplyOffset/ApplyOffsetCopyacross all shapes.
- Changed to
New Shape Class:
- A new
Shapeclass that inherits fromIShape.
Collider Inheritance:
- The
Collidernow inherits from theShapeclass instead ofIShape.
ShapeContainer System:
- Hierarchy System: Parent/Child hierarchy for shapes.
- A
ShapeContainercan have a parent and multiple children. - Children are updated based on the parent transform and the child offsets.
- A
New Shape Classes:
- CircleShape
- TriangleShape
- SegmentShape
- RectShape
- QuadShape
- PolyShape
- PolyLineShape
- All these classes inherit from
ShapeContainer.
- All these classes inherit from
Merged Pull Requests
Full Changelog: v2.3.1...v2.4.0