File:Cast ray-example.jpg

From Valve Developer Community
Revision as of 06:08, 12 May 2025 by Nescius (talk | contribs) (→‎Summary)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Original file(1,920 × 1,080 pixels, file size: 384 KB, MIME type: image/jpeg)

Summary

Game: Portal, map testchmb_a_04

4 cast_ray uses, first the commands were used then player was teleported to desired position to take screenshots

  • cast_ray shot at portal didn't go through it
Console output
Hit worldspawn
position 0.00, 0.00, 0.00
angles 0.00, 0.00, 0.00
Hit: hitbox 0, hitgroup 0, physics bone 0, solid 1, surface CONCRETE/CONCRETE_MODULAR_WALL001A, surfaceprop concrete, contents 00000001
  • cast_ray doesn't go through glass window
Console output
Hit func_brush
position 256.00, 385.50, 192.00
angles 0.00, 0.00, 0.00
Hit: hitbox 0, hitgroup 0, physics bone 0, solid 6, surface maps/testchmb_a_04/glass/glasswindow_refract01_410_257_176, surfaceprop glass, contents 10000002
  • cast_ray went through the water surface
Console output
Hit worldspawn
position 0.00, 0.00, 0.00
angles 0.00, 0.00, 0.00
Hit: hitbox 0, hitgroup 0, physics bone 0, solid 1, surface maps/testchmb_a_04/metal/metalwall048e_250_113_-63, surfaceprop metal, contents 00000001
  • cast_ray did hit prop_combine_ball
Console output
Hit prop_energy_ball
position 26.07, 318.00, 61.46
angles -0.00, 0.00, 0.00
Hit: hitbox 0, hitgroup 0, physics bone 0, solid 2, surface **studio**, surfaceprop metal, contents 00000001

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current05:46, 12 May 2025Thumbnail for version as of 05:46, 12 May 20251,920 × 1,080 (384 KB)Nescius (talk | contribs)

The following page uses this file: