Hot Wheels Mechanix setup6/13/2023 ![]() In the Hierarchy view, click on the Main Camera, and in the Inspector, scroll down to the Smooth Follow (Script). Drag that onto the Main Camera in the Hierarchy view. OK, we have 3 pieces in our scene, Car, Ground and Main Camera.įrom the Standard Assets folder, we are going to the Scripts folder and the Camera Scripts folder in that. ![]() Set its scale to 3,1,5 and its position to 0,5,0. Next, we are going to create a box, and name it Car. Being the ground, this is of course what we are going to be driving on, so were making it nice and big. set its scale to 500,1,500 and it's position to 0,0,0. OK with a new scene, lets create a box, name it Ground. The only thing I usually import is the Scripts, because it contains the SmoothFollow script. NOTE: Not a single one of these it totally nessecary, they will be used later on in the more advanced areas. Into this scene we are going to add the following packages: We will get to making a car and importing it and doing whatever later. Let's do it again.įirst things first, we are not going to use anything that Unity doesn't have to start with. ![]() The best thing is, I am going to do 90% of it with stuff found here in THIS forum. I am going to attempt to go from scratch to a working vehicle in a tutorial in this multi-part tutorial. Controlling a vehicle by code is about the most difficult thing to do, and make it look right. Some one posts a piece of code asking how to make Trasform.Translate or whatever work for a car.
0 Comments
Leave a Reply. |