RayCast3DPhysics
Description
Cast a ray
Definition
RayCast3DPhysics( rayID, fromVec3ID, toVec3ID, allOrClosest )
void agk::RayCast3DPhysics( uint32_t rayID, int fromVec3ID, int toVec3ID, int allOrClosest )
Parameters
- rayID - ID of the ray
- fromVec3ID - ID of the starting point vector. Create a vector with the CreateVector3() command.
- toVec3ID - ID of the destination vector
- allOrClosest - 1 = all contacts, 0 = closest contact