Setting Up Object Interaction In Godot

Описание к видео Setting Up Object Interaction In Godot

In this Godot 4 tutorial, we're setting up our initial object interaction raycast so we can check for interactable objects where we look.

🔥 GET THE SOURCE FILES ►►   / stayathomedev_  
👉🏼 FREE BASIC FPS SETUP SOURCE FILES ►► https://stayathomedev.itch.io/basic-f...

-----------------------------------------------------------------------------------

✅ Basic FPS Setup Video ►►    • Make An FPS in Godot 4  
✅ FPS State Machine ►►    • E07 - State Machine Introduction // M...  

-----------------------------------------------------------------------------------

0:00 - Introduction and Overview
0:24 - Setting Up Raycast and Explanation
0:59 - Export Variable for Interact Distance
1:50 - Adding Functions for Interaction
2:40 - Reference to Camera and Getting Space State
3:19 - Center of Screen and Explanation of Viewport Size
3:59 - Origin Point of Raycast and Calculating Vector
4:39 - Performing Raycast Query and Making Bodies Collidable
5:13 - Storing Raycast Result and Global Function Suggestion
6:02 - Getting Raycast Result and Details
6:49 - Getting Collider Node and Printing Result
7:30 - Running Raycast Every Frame and Testing Results
8:33 - Setting Up Input Map for Interaction
9:36 - Running Interaction Function and Checking Result
10:19 - Future Interaction Setup
11:00 - Conclusion and Patreon Support

-----------------------------------------------------------------------------------

This series is part of my sponsored Godot FPS Project where we will walk through how to create an 3D FPS game in Godot 4, step by step. I won't be skipping any steps in the process and everything will be sequential video to video.

This initial basic FPS setup project is available for free to download and use using the MIT license via the link below. For all future videos, the project source files will be available to my GitHub Sponsors.

Joining my Patreon in one of the 3 tiers will give you:

access to the private Discord channel
your name in the project README
early access to tutorial videos
power to vote on what mechanics get covered in future videos
full access to the project source files to use in your own projects

-----------------------------------------------------------------------------------

STAYATHOMEDEV ►► https://stayathomedev.com
TWITTER ►►   / stayathomedev  
MY GODOT ASSETS ►► https://stayathomedev.itch.io/

#godot #godotengine #fps

Комментарии

Информация по комментариям в разработке