This article's documentation is for anything that uses the Source engine. Click here for more information.

cast_ray

From Valve Developer Community
Revision as of 01:30, 12 May 2025 by Nescius (talk | contribs) (Created page with "{{LanguageBar|title = {{mono|cast_ray / cast_hull}}}} {{This is a|console command|name=cast_ray|name1=cast_hull}} Casts a ray or hull and shows what it hit in console. {{warning|Make sure your game is not paused when issuing these commands or the overlay for it won't show up. (type unpause in console before writing the command or {{cmd|bind}} it to a button <code>bind e cast_ray</code>)}} == See also == * {{cmd|box (console command)|alt=box}} * {{cmd|drawcross|alt=draw...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
English (en)Translate (Translate)

cast_ray and cast_hull are console commands available in all Source Source games. Casts a ray or hull and shows what it hit in console.

Warning.pngWarning:Make sure your game is not paused when issuing these commands or the overlay for it won't show up. (type unpause in console before writing the command or bind it to a button bind e cast_ray)

See also