Software Engineering vocabulary · Architecture, Design Patterns and Graphics

Raycast

Meaning in software engineering, with examples

/ˈreɪkæst/nounAdvanced term

In software engineering, raycast means: A check in which the game sends an invisible straight line from a point in a direction to find what it hits first. It is used for shooting, line of sight and ground detection.

In Turkish: raycast, ışın testi, ışın gönderme

How it is used

Also a verb: raycast from the camera to the mouse position. Programmers talk about a raycast hitting or missing, ray length and layer masks. Hitscan weapons, which hit instantly, are usually made with raycasts.

Example sentences

  1. We do a short raycast down from the feet to check if the player is on the ground.

  2. The enemy raycasts to the player before shooting, so it never shoots through walls.

Common collocations

  • cast a ray
  • raycast hit
  • layer mask
  • hitscan weapon

This word in other fields

The same English word can have a different meaning in another field:

More terms: Architecture, Design Patterns and Graphics

Practise with graded reading

Reading at the right level is the fastest way to make new words stick. Pick free English books by level: