Tracing is a way for you to reach out into your level and get feedback about what lives there so that you can respond appropriately. Traces are used everywhere, but they can be a bit tricky to understand, therefore today I am going to show you how to setup basic line traces so you can use them in your projects.
To begin, you will need to have a character, an object in the world, and a basic level so that our player is not just falling through space. I am using the third person default cpp project.
Subscribe to keep up with the latest: / @keltickgamedev
Chapters:
00:00 Intro
00:10 Project Requirements
00:24 Add the Tick Method
01:18 Line Trace Code Breakdown
03:05 Getting our Player's Viewpoint
03:35 Filling in our Trace Vectors
04:04 Extra Trace Parameters
04:40 Setting up Logic
05:40 Draw Debug Line Wishlist Mathletics: https://store.steampowered.com/app/37...