cast_ray Command


This console command tests the game's collision detection by spawning a small ray from where your character is standing to where they are looking.

Extra Info

Sv_cheats Required? Yes
Client or Server Command? Server

cast_ray Examples

Find below working examples of this command (copy and paste into console).


Spawns a ray of light from that connects where you're standing with where you're looking. You can spawn multiple of these at once though they will fade with time.