Войти
  • 9962Просмотров
  • 1 год назадОпубликованоThe Coffee Engineer

How to make 3D interactable items in Godot 4

In this video I teach you how to create interactable objects in Godot 4. Learn how to press "E" (on a keyboard) or "A" (on a controller) to interact with your objects and NPCs in your world! If you have any questions, be sure to comment below or ask in our discord community. -- We're always talking about game dev on the discord. Join us if you want to learn with everyone else! Discord: -- Time Stamps: -- 0:00 Introduction 0:30 How to add a ray cast to your player 2:17 Using ray cast input inside of your code 2:50 Intersecting areas with ray cast tips 3:30 Debugging ray cast not moving with camera 4:37 Showing "Press "E" to interact" text 6:18 Setting up controls to interact with object 7:56 Debugging error: "has_method in base of null instance" 8:40 Conclusion