SphereCast3DPhysicsRay
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 )
SphereCast3DPhysics( rayID, fromVec3ID, toVec3ID, radius )
void agk::SphereCast3DPhysics( UINT rayID, int fromVec3ID, int toVec3ID, float radius )
Parameters
- objID - object ID
- rayID - The ID of the ray which is returned by calling Create3DPhysicsRay().