Black Ops III

PhysicsTrace

Does a physics trace from start to end. Returns hit position

Example:

trace = PhysicsTrace( start, end, ( 0, 0, 0 ), ( 0, 0, 0 ), self, PHYSICS_TRACE_MASK_VEHICLE_CLIP )

Returns: entity

Parameters

ParameterSummary
*startstarting position
*endending position
[mins]minimum bounds
[maxs]maximum bounds
[ignore entity]the entity to not consider
[mask type]the trace modifier

* = mandatory