# SphereCast3DPhysics

## Description

Casts a sphere collision shape along the length of the ray.

## Definition

SphereCast3DPhysics( rayID, fromVec3ID, toVec3ID, radius )

void agk::SphereCast3DPhysics( UINT rayID, int fromVec3ID, int toVec3ID, float radius )

## Parameters

- rayID - The ID of the ray which is returned by calling Create3DPhysicsRay().
- fromVec3ID - The ID of the vector holding the start point
- toVec3ID - The ID of the vector holding the end point
- radius - The radius of the sphere