Get3DPhysicsRayCastContactPosition
Description
Returns true if there is a contact vector and fills the vector outVec3ID. First create a vector with CreateVector3() then pass in the ID. The vector you have created and passed in will be filled with the results.
Definition
integer Get3DPhysicsRayCastContactPosition( rayID, fractionIndex, outVec3ID )
int agk::Get3DPhysicsRayCastContactPosition( uint32_t rayID, float fractionIndex, int outVec3ID )
Parameters
- rayID - ID of the ray
- fractionIndex - value returned by Get3DPhysicsRayCastFraction() command.
- outVec3ID - Id of the vector that will be filled with the position.