Is this game that's open world where you can create your own environment from different blocks and beyond that people even modify the game to further expand the capabilities? I have seen that game. Inspire so many different creative projects. This video came as a surprise to most of us at Road rat it's, something that our editor Christian cooked up in his quarantine time, and we all thought it was so cool and really wanted to make sure that you guys got a chance to see it. So I asked Christian if we could reapplied it to the road or a channel and if we could also learn a little bit about what it took to make that and as it turns out, it's pretty crazy, but rather than me trying to explain it. Lets meet Christian himself and take a look at what went into making Minecraft fpbs hi I'm Christian. The editor for Road right I've been sitting here in quarantine, editing, fpv videos and playing some minecraft, and at some point I had an idea. My first thought was fine craft can't. Be that hard to mod right I mean. Have you seen some of the mods out there, then my immediate second thought was. I really don't want to learn Java, so the next best thing figuring out how to extract 3d models from Minecraft into my own game engine programming, my own custom script and building a fake cube drone to fly in my world piece of cake.

First things: first, I needed 3d models. Thankfully someone else on the internet already did all the heavy lifting for me and made a program specifically for extracting 3d models for Minecraft. I downloaded that program got to work breaking it as fast as I could. Once I figured out how to make it not break, I exported the largest file. I could possibly make without my computer catching fire and threw that into my game engine of choice, unity. 3D. Once I figured out how to make it look kind of cool and adjusted the materials about 15 different times until I get the binds to look just right, I got to work on the physics. The great thing about using a pre built physics. Engine like unity is that I didn't have to worry about gravity or masse or doing any actual math. All I had to do is write about five lines of code. Now, it's done right, wrong. I'M gon na. Let you in on a little secret controllers, are freaking. Weird, every controller assigns its axes to different values, and every computer operating system interprets those values differently. So every single computer and controller pair is going to have wildly different values, and none of them are in any way related to each other and it's. The most confusing thing at thankfully unity has an input system that allows you to adjust for all of these different axes exactly the way you want it, but there's still a problem we're not dealing with traditional game controllers.

We fly drones with radios. This old thing was the only radio I had within five feet of me when I came up with this idea: it's an old simulator controller, that's USB only from like a decade ago. Its axes are not in any way intuitive. This is the first one. This is the second one. This is the third hold on wait for it. This is the fourth, and this is the fifth. Once I had that figured out and setup, I could actually fly sort of a little bit. It was moving at about two miles an hour, so I needed to increase the rates by some ridiculous amount and threw in a bunch of numbers until it worked, and then I just around for a bit. You might now notice, though, that there are no collisions. You can just hit a wall and fly right through it. Now I could not be lazy and actually add colliders to the blocks that you should collide with, but that's boring it's more fun to not crash anyway. I actually did end up adding a few colliders to some of the blocks. I just found that I flew better when I had the threat of hitting something, but ultimately the goal wasn't for it to feel in any way accurate or precise. It was just to make a cool looking video and fly locations that I literally couldn't fly any other way, so I was flying around a bit. I realized it was only in three by default.

I actually had to put extra effort into making this quad not 3d, and the reason why is actually because of how computers interpret control on an axis like this, you have zero in the center, stick positive one in one direction and negative one in the other direction. So for the throttle, which usually has zero at the bottom, the computer has no way of knowing that zero is supposed to be down here and the other thing about this weirdly specific controller is that, for whatever reason it doesn't actually go all the way to one And negative one like controllers are supposed to: it only goes to negative zero point, six, five, seven something so I actually had to modify the code so that it would specifically add the exact amount I wanted to get it back to zero. Before I added any rate or expo to that value now some of you may be wondering wait a second. If all you're doing is importing 3d models into a game engine it doesn't even have to be minecraft levels right, ding, ding, ding, ding ding. You can actually fly anything using this method. You want to fly that doughnut you made in highschool when you decided, you wanted to learn 3d modeling for two weeks. Yeah go ahead and fly that the sky is the limit, literally them that the sky is the limit. You can't reach the sky boxes it's too far away. I got a little creative with the maps I was able to make, because I wanted to try to just create weird landscapes that you wouldn't be able to find in real life, something so satisfying about zooming around literal floating islands in the sky.

But now that I've built out this simple scene, I think I'm gon na try some other landscapes that I can find. If you guys want to try this. I added my unity project in the description for you to open up and play with your controller may vary, but once you get past that it should be mostly smooth sailing again, I know almost nothing about real physics, so I'm sure it doesn't feel right, it's. Nowhere near level of something like say, liftoff liftoff, has incredible physics. They actually just updated their physics to a new 4.0 version that feels better than ever check them out on Steam. If any of you guys do decide to download this and check it out. Let me know in the comments I'd love to see what you make with this again literally, the sky is the limit together: Music Applause, Music, Music, Music. Alright guys hope you enjoyed this video. I thought it was really cool learning a bit about what it takes to make a sim. It is definitely not an easy process if you enjoyed this video hit the thumbs up button and subscribe for more fpv action. We'Ll see you next time on roto rise. I'M.