Skip to contents

Get collision info between ray and sphere.

Usage

get_ray_collision_sphere(ray, center, radius)

Arguments

ray

A ray.

center

A numeric vector of length 3.

radius

A number.

Value

A ray_collision

Note

This function has been auto-generated from the following Raylib function definition:

RayCollision GetRayCollisionSphere(Ray ray, Vector3 center, float radius);