Problem
Currently the Collision and Physics treat all bodies the same way. However, for optimization and ease of use we want to consider different types of Collision Objects, particularly trigger areas and physics bodies, and have an easy way of creating each of these
Design
We propose this separation:
Collisions Plugin:
Physics Plugin:
Additionally:
Problem
Currently the Collision and Physics treat all bodies the same way. However, for optimization and ease of use we want to consider different types of Collision Objects, particularly trigger areas and physics bodies, and have an easy way of creating each of these
Design
We propose this separation:
Collisions Plugin:
Collider#1429Collidercomponent toColliderAABBand make it private #1428XCollisionShapeBundlefor each shape #1430TriggerArea#1246PhysicsBody#1431TriggerAreaBundle(addsTriggerArea, CollisionLayer, CollisionMask)PhysicsBodyBundle(addsPhysicsBody, CollisionLayer, CollisionMask)Physics Plugin:
KinematicBodyBundle#1432Additionally:
AccumulatedCorrectionprivate