Name | Type | Description |
---|---|---|
e1 |
Core.Entity | one entity that collided. |
e2 |
Core.Entity | other entity that collided. |
Members
-
validity flag
Methods
-
getNormal ()Utils.Vector2d
-
gets the normal between the entitie's colliders.
Returns:
Type Description Utils.Vector2d the normal vector between colliders. -
getPenetration ()Utils.Vector2d
-
gets penetration between the entities' colliders
Returns:
Type Description Utils.Vector2d the penetration vector between colliders.