Godot 4 - RTS Part 7 - AABB Mouse Selection for an RTS

Автор - Nanotech Gamedev ссылка - От автора: Chapters to navigate around any video from this new series: 00:00 This Part Goal 02:55 From last Part 03:20 AABB Visualizer Object for Unit 05:53 AABB Visualizer Code 09:50 Testing AABB Visualizer 10:10 Enabling Top Level 10:45 Visualized AABB 11:00 Mouse Collision AABB 11:30 Selecting an 3D Object by AABB 12:00 Why global_transform * AABB? 13:12 Unique BoxMesh per AABB 13:58 Back to Mouse AABB Intersects_Ray() 15:48 RTS_Player add a selection array variable 16:24 RTS_Player Selection Update Method 17:04 Selection Manager Update 19:00 Adding AABB selection method to RTS_Player 23:06 Changing How Dragbox Selection Works 26:43 Testing Results so Far 27:10 Fixing Bugs Code Cleaning 27:26 Vertical Black Line Glitch 27:58 Rts Player Code Cleanup 28:50 Obj_ var name reference Rule 32:28 Method Rename to be more Clear 32:56 Outro The new revised Rts series is finally here, starting again from scratch, we will be building an Rts from the ground up using only Godot and Gdscript, our goal is to build a minimal viable product similar to a traditional Rts in 3D, we will be keeping it as simple as possible and building each feature as we move forward, the previous series are now deemed as experimental and this one will be the complete series, all tutorials will be updated to Godot 4.5 , Different from the previous attempt, this series will have a much higher quality and continuity than the previous series, we will also be revising and refining some of the things we already developed in the previous series, all one step at a time, let’s complete an Rts prototype! Resource assets for the project will be for free on the google drive link (see channel community posts), and for members will be available the Godot source project. Link to the main google drive folder: Link to the google drive rts series assets:
Back to Top