Repository navigation
3.0.0 Major Release #51
SoloByte
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Summary
This release improves how collision/overlap/query information is aggregated and handled.
Before, information was collected on a per-collider basis, and events/functions were called on the active collider involved. This meant the actual collision object and collider parent would not be notified.
Now, all the information is grouped per collision object. The collision/overlap between colliders with all the collision points is still collected together in one class. So, each collision object gets notified of all the collisions/overlaps that happened with any of the child colliders at the end of each frame. A collision without collision points is an overlap!
These changes should help in making it easier to use the collision information. The actual collision detection and data have not changed just how it is grouped together and presented to the involved collision objects/ colliders.
YouTube Video
Changelog
Overlap&OverlapInformationclasses addedCollisionInformationclass reworkedCollisionclass improvementsCollisionObjectsnow receive relevantCollisionInformationand can choose to pass it down to involved collidersCollisionNamespace changed toCollisionSystemCopy()Function added toCollisionInformation,OverlapInformation,Collision,Overlap, andIntersectionclassesCollisionInformationandOverlapInformationIntersectionclass deleted (replaced byCollisionPointsclass)CollisionPointIsFacing*()functions added to check if normals are facing the correct wayQuerySpace*()functions in CollisionHandler renamed to IntersectSpace*IntersectSpace*()functions now returnIntersectSpaceResultsthat replaced the oldQueryInfosystem.CastSpacenow usesCastSpaceResult/CastSpaceEntryclassesToAlignement()Function fixed &ToInvertedAlignement()Function addedExamples
All reactions