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-game (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: http://www.facebook.com/BornCG
INSTAGRAM: https://www.instagram.com/born.cg/
X / TWITTER: https://twitter.com/BornCG
Reddit: https://www.reddit.com/u/BornCG
**********************************
Visit this Godot 4 Beginners: 3D Platformer Course playlist!:
https://www.youtube.com/playlist?list=PLda3VoSoc_TTp8Ng3C57spnNkOw3Hm_35 />
Visit my Let’s Learn Blender! Tutorial Series playlist:
https://www.youtube.com/playlist?list=PLda3VoSoc_TQrLrt-voecHs0Mb5qzk2S3 />
****************
Nicolas from the band ‘The Lazy Saviours’ created my Intro Jingle!
****************

Vastaa

Sähköpostiosoitettasi ei julkaista. Pakolliset kentät on merkitty *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>