In this video, I will recreate the Tree Chopping or Tree Cutting mechanism from the Indie Survival title "Rising World".
For the tutorial, I will use Unity 6, I will create a brand new URP project and will create every functionality (except the assets) from the scratch.
I will try to write a proper code instead of "throw away tutorial code". So you should treat the video as a course and take your time. Don't try to follow along in one sitting.
Resources
Assets files (FREE) / 135869961
Complete Project / 135800964
Do you want to support my work? The best way to support this channel is to buy my game on Steam. https://store.steampowered.com/app/25...
Alternate ways to support!
/ digvijaysinhg
https://github.com/sponsors/Digvijays...
Chapters
00:00 Intro
01:36 Project Setup
03:19 First Person Character Controller Setup
06:10 Defining Inputs
15:14 Player Movement
23:14 Mouse Look
31:29 Importing Assets
32:09 Hatchet
44:25 Birch Tree
52:51 Chop down Tree
59:22 Determining Fall Direction
01:05:03 Damage the Cut Tree version
01:09:40 Polishing the Tree fall
01:13:17 Spawn Logs and Branches
01:20:49 Pickup Functionality
01:29:28 Extend Pickup Functionality to Hatchet
01:39:52 Finalize The Functionality
01:40:30 Audio Manager
01:57:11 Decals
02:04:38 Particles
02:10:44 Outro