TOKSENSOR_GetDetectRigidBody(Sensor%) |
Parameters: Sensor% = The sensor's handle |
Return value: The rigid body's handle |
Description: Retrieves the handle of the first rigid body the sensor penetrated, if it penetrated a rigid body. NOTE: This value is only available if TOKSENSOR_GetDetectDepth() is greater than 0. |