Check collision between two spheres.
Arguments
- center_1
A numeric vector of length 3.
- radius_1
A number.
- center_2
A numeric vector of length 3.
- radius_2
A number.
Note
This function has been auto-generated from the following Raylib function definition:
CheckCollisionSpheres(Vector3 center1, float radius1, Vector3 center2, float radius2); bool
See also
Other collision functions:
check_collision_box_sphere()
,
check_collision_boxes()
,
check_collision_circle_rec()
,
check_collision_circles()
,
check_collision_lines()
,
check_collision_point_circle()
,
check_collision_point_line()
,
check_collision_point_rec()
,
check_collision_point_triangle()
,
check_collision_recs()
,
get_collision_rec()
,
get_ray_collision_box()
,
get_ray_collision_mesh()
,
get_ray_collision_model()
,
get_ray_collision_quad()
,
get_ray_collision_sphere()
,
get_ray_collision_triangle()