The donut block is a staple of Mario games, and today I want to show off one way that you can make it. The main components of the donut block that I will be covering are:
1. If the player is jumping, they can keep using the block
2. After the player spends time on the block, it shakes
3. After it shakes, the block falls and disappears
4. The block respawns after a brief delay
Wishlist Mathletics: https://store.steampowered.com/app/37...
Chapters
00:00 Overview
00:23 Object Setup
01:36 Setting up the Mover
04:38 OnComponentBeginOverlap
05:55 Make the mesh jiggle
08:52 Demo up to this point
09:24 Bugfix and explanation
10:00 Causing the fall
10:27 Make the mesh disappear
11:29 Make the donut respawn
13:25 Stop the timer when we get off the donut
14:35 Final demo
Subscribe to keep up with the latest: / @keltickgamedev