Raycasting with Playmaker

Published: 23 January 2021
on channel: Hutong Games
13,561
351

In this video, you will learn what a raycast is and how to use them in Unity with Playmaker.

Timestamps
00:00 - Intro
00:22 - What is a raycast?
00:38 - Examples of raycasts in games
00:45 - Setting up the scene
01:19 - Seeing the raycast ray in action
02:13 - Send an event when the ray hits something
02:52 - Store a bool value if the ray hits something
03:08 - Locking the window to move other objects
03:36 - Storing gameobjects hit by raycast in variables
04:03 - Adjusting the ray distance (length of ray)
04:48 - Getting the exact position (vector 3) the ray hit
05:48 - Using layermasks with the raycast
07:48 - Getting multiple objects with the RaycastAll action

For more help visit:
Playmaker forums @ https://hutonggames.com/playmakerforu...
Playmaker Discord @   / discord  

Find us on Twitter @HutongGames


Watch video Raycasting with Playmaker online without registration, duration hours minute second in high quality. This video was added by user Hutong Games 23 January 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 13,561 once and liked it 351 people.