Code: Select all
native(277) final function Actor Trace
(
out vector HitLocation,
out vector HitNormal,
vector TraceEnd,
optional vector TraceStart,
optional bool bTraceActors,
optional vector Extent
);
Is this what "Extent" is for? Or is this variable broken and I need to perform multiple tests?
I'm trying to refine this code so instead of just producing a line it produces some sort of box like test instead:
Code: Select all
if( bReducedCrouchHeight ) //Prevent getting up if somethings in the damn way.
{
StartTrace = Location;
EndTrace = Location;
EndTrace.Z += 64.0;
Trace( HitLocation, HitNormal, EndTrace, StartTrace, false);
}