a namespace for Collision A namespace containing functions to test for Collision.
More...
a namespace for Collision A namespace containing functions to test for Collision.
bool Collision::playerPlatformIntersectCheck |
( |
Player * |
, |
|
|
Entity * |
, |
|
|
float |
|
|
) |
| |
Checks if the Player intersects with the platform Checks if the Player intersects with the platform using the velocity and the dt for the updated positions.
- Parameters
-
Player | * a pointer to the player |
Entity | * a pointer to the platform |
float | the dt |