Unity How To's - 2D Raycast

Опубликовано: 17 Июнь 2026
на канале: Anfractuous Dev
63,994
1.1k

In this video we cover discuss how to perform 2D Raycasts within Unity3D.

Performing raycasts within a 2D space is particular useful for all sorts of game genres but in particular, Platform games! This video provides a simple example of how to use the built-in method of Unity called Physics2D.Raycast. It covers the basic usage and provides some steps that are useful to provide a visual representation of the rays, for when trying to debug usage of such methods.

Unity Unite Berlin 2018 - Create a 2D Platformer Training -    • Create A 2D Platformer - Cycle 0 - Intro  


Links:
Twitter -   / anfractuousone  
Twitch -   / anfractuous_dev  
Website - https://www.anfractuous.co.uk