package
1.0.0
Repository: https://github.com/engoengine/systems.git
Documentation: pkg.go.dev

# Functions

IsIntersecting tells if two engo.AABBs intersect.
MinimumTranslation tells how much an entity has to move to no longer overlap another entity.

# Structs

CollisionComponent keeps track of the entity's collisions.
CollisionMessage is sent whenever a collision is detected by the CollisionSystem.
CollisionSystem is a system that detects collisions between entities, sends a message if collisions are detected, and updates their SpaceComponent so entities cannot pass through Solids.
NotCollisionComponent is used to flag an entity as not in the CollisionSystem even if it has the proper components.
SpaceComponent keeps track of the position, size, and rotation of entities.

# Interfaces

Collisionable is the required interface for the CollisionSystem.AddByInterface method.
CollisionFace allows typesafe access to an anonymous CollisionComponent.
NotCollisionable is an interface used to flag an entity as not in the CollisionSystem even if it has the proper components.
SpaceFace allows typesafe access to an anonymous SpaceComponent.

# Type aliases

CollisionGroup is intended to be used in bitwise comparisons The user is expected to create a const ( a = 1 << iota \n b \n c etc) for the different kinds of collisions they hope to use.