Black Ops III

CanPlayerPlaceVehicle

Try to place a vehicle in front of the player. It'll return an array containing the placement "result", "origin", and "angles".

Example:

placement = level.player CanPlayerPlaceVehicle( 25, 45, 50, 40, 80, 0.7 )

Parameters

ParameterSummary
*radiusRadius of the bounds check
*heightHeight of the bounds check
*forward DistanceDistance away from player origin.
*up DistanceDistance up from player origin.
*sweep DistanceDistance to sweep downwards.
*min normalMinimum hit normal needed to be pass.

* = mandatory