# Get3DPhysicsRayCastClosestContactPosition

## Description

Returns true if there is a closest 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 Get3DPhysicsRayCastClosestContactPosition( rayID, outVec3ID )

int agk::Get3DPhysicsRayCastClosestContactPosition( UINT rayID, int outVec3ID )

## Parameters

- rayID - ID of the ray
- outVec3ID - Id of the vector that will be filled with the position.