Closed ottworks closed 6 months ago
This is also why Garry makes this comment in the prop spawning code:
This is also why Garry makes this comment in the prop spawning code
That comment doesn't seem to suggest that TraceEntity doesn't work properly, but that the effect of the current method just feels nicer.
This is pretty much how Source Engine has it, I don't think you will ever see a fix for this. Same goes for TraceHull.
Yeah, Source just wasn't built to have rotatable hulls - a series of TraceLines is the closest you're going to get with the current functionality. Perhaps a new trace function that traces a rotated box/OBB could be possible.
In my SWEP code...
Result: https://www.youtube.com/watch?v=U65xXY9Ker8
This pretty much makes util.TraceEntity useless.