Godot 4 3D Platformer Lesson #6: Collectable Coin

Опубликовано: 04 Январь 2025
на канале: BornCG
30,427
1.2k

In this Godot 4 Lesson I show you how to make a reusable, collectable coin object (a cylinder), that vanishes when touched by the player (or another physics object, at this point). We'll accomplish the collision detection in one of two ways: using a built-in method, or (better): using a signal with a handling function.

Thanks for watching! Here are the video chapter timecode links:

0:00 - Video Intro
0:07 - Recap & Overview
0:44 - Creating the Coin Object Scene (beginning with an Area3D)
06:34 - Adding a Coin Script
07:47 - Continuous Spinning (using GDscript)
13:42 - Adding a Coin Instance to the Level
14:24 - Collision Detection (using 'if')
18:31 - Collision Detection (using Signals)
25:20 - Wrap-Up & Outro

Don't forget to LIKE & SUBSCRIBE! 🥰 👍

*note: In this lesson I used Godot 4.1
#godotengine #gamedev

Play and Download the Finished 3D Platformer Game Online Now!: https://borncg.itch.io/3d-platformer-... (use: Chrome/Edge/Firefox to play the web game version)
*****************
DONATE to support my channel via PayPal: https://goo.gl/ThkwyG
********************************
LIKE and FOLLOW me on:
FACEBOOK:   / borncg  
INSTAGRAM:   / born.cg  
X / TWITTER:   / borncg  
Reddit:   / borncg  
**********************************
Visit this Godot 4 Beginners: 3D Platformer Course playlist!:
   • Godot 4 Beginners: Learn to make a 3D...  

Visit my Let's Learn Blender! Tutorial Series playlist:
   • Let's Learn Blender!  

****************
Nicolas from the band 'The Lazy Saviours' created my Intro Jingle!
****************