Syntax: Select all
File "..\addons\source-python\packages\source-python\engines\trace.py", line 207, in __init__
self.ignore = set(map(inthandle_from_baseentity, ignore))
TypeError: No registered converter was able to extract a C++ pointer to type class CBaseEntityWrapper from this Python object of type int
Syntax: Select all
ray = Ray(start_pos, end_pos)
trace = GameTrace()
engine_trace.trace_ray(
ray,
ContentMasks.ALL,
TraceFilterSimple(ignore=(entity.index, )),
trace
)
What am I doing wrong?