Raytracing triggers
Raytracing triggers
Is it possible with the current implementation of gametrace for the ray to hit map triggers, e.g trigger_multiple?
Trace that hit triggers
He is hitting triggers. At least in my code. May be deal in mins/maxs ?
With this code I tried to teleport, but something invisible (de_dust2, CT spawn -> Ramp-Long) blocks trace. It was trigger
Syntax: Select all
ray = Ray(player.eye_location, target_vector, player.mins, player.maxs)
engine_trace.trace_ray(ray, ContentMasks.ALL, TraceFilterSimple((player,)), trace)
With this code I tried to teleport, but something invisible (de_dust2, CT spawn -> Ramp-Long) blocks trace. It was trigger
Re: Raytracing triggers
I have already tested before and it did not hit triggers.
Return to “Plugin Development Support”
Who is online
Users browsing this forum: No registered users and 73 guests