SphereCast3DPhysicsObject
Description
Casts a sphere collision shape along the length of the ray. Returns 1 if the specified object has been hit and 0 if it has not.
Definition
integer SphereCast3DPhysicsObject( objID, rayID, fromVec3ID, toVec3ID, radius )
int agk::SphereCast3DPhysicsObject( UINT objID, UINT rayID, int fromVec3ID, int toVec3ID, float radius )
Parameters
- objID - object ID
- 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