Expand description
Collision checks between different shapes
Functionsยง
- check_
collision_ box_ sphere - Check collision between box and sphere
- check_
collision_ boxes - Check collision between two bounding boxes
- check_
collision_ circle_ rect - Check collision between circle and rectangle
- check_
collision_ circles - Check collision between two circles
- check_
collision_ lines - Check the collision between two lines defined by two points each, returns collision point
- check_
collision_ point_ line - Check if point belongs to line created between two points [p1] and [p2] with defined margin in pixels [threshold]
- check_
collision_ rects - Check collision between two rectangles
- check_
collision_ spheres - Check collision between two spheres
- check_
point_ inside_ circle - Check if point is inside circle
- check_
point_ inside_ polygon - Check if point is within a polygon described by array of vertices
- check_
point_ inside_ rect - Check if point is inside rectangle
- check_
point_ inside_ triangle - Check if point is inside a triangle
- get_
collision_ rect - Get collision rectangle for two rectangles collision
- get_
ray_ collision_ box - Get collision info between ray and box
- get_
ray_ collision_ mesh - Get collision info between ray and mesh
- get_
ray_ collision_ quad - Get collision info between ray and quad
- get_
ray_ collision_ sphere - Get collision info between ray and sphere
- get_
ray_ collision_ triangle - Get collision info between ray and triangle