Name | Type | Description |
---|---|---|
owner |
Core.Entity | the entity the component's being applied to. |
collisionResolver |
object | collider object (e.g: AABB, CircleCollider) |
potential_entities |
Container | container of potential entities to check against (usually dictionary) |
Members
-
the component name
Methods
-
getNormal (otherCollider)Utils.Vector2d
-
gets normal with other collider
Name Type Description otherCollider
Components.Collider other collider Returns:
Type Description Utils.Vector2d the normal of the collision -
updates the collider (position, detection, etc..)