Returns the object ID hit for the given collision index in the last collision check. You can check the number of valid indices with GetObjectRayCastNumHits.
Definition
integer GetObjectRayCastHitID( index )
uint32_t agk::GetObjectRayCastHitID( uint32_t index )
Parameters
index - The index of the collision to check, starting at index 0.