Allows you to override trace result when a trace hits the entitys Bounding Box.
tablewill allow you to override trace results. Table should contain the following keys, all optional:
- Vector HitPos - The new hitpos of the trace
- number Fraction - A number from 0 to 1, describing how far the trace went from its origin point, 1 = did not hit
- Vector Normal - A unit vector (length=1) describing the direction perpendicular to the hit surface
true will allow "normal" collisions to happen for
SOLID_BBOX entities (nextupdate)
false allows the trace to ignore the entity completely.
Example taken from lua/entities/widget_base.lua