Black Ops III

GroundTrace

Allows script to do a point trace with MASK_SHOT + MASK_ITEM. Returns hit position, hit entity, hit surface normal.

Example:

trace = GroundTrace(magicBulletOrigin.origin, eyePos, true, undefined)

Returns: entity

Parameters

ParameterSummary
*startThe bullet start point
*endThe bullet end point
*hit charactersWhen set to true, this will trace for character hits
*ignore entityAn entity to ignore
[ignore water]Optionally ignore water. (bool)
[ignore glass]Optionally ignore glass. (bool)

* = mandatory