1. Environment and PLAYER
Today is the first day of the official start of unity, from the official online to find a few video tutorials, from the first learning, rolling ball.
Start with a new project, follow the default settings, create a new scene, and then the game object. Ball rolling must have a piece of floor, I new a flat, reset his properties, proportional to x/z twice times, the default plane is white, according to the video, create a new material, change its color, remove the grid, so the ball has a place to stand. Next, create a new ball, change to the default setting, and move it up 0.5 positions so that the ball doesn't look half buried in the plane.
Our goal is to allow the ball to move around under force, creating a new component to add a script, named Playercontroller. Our ball is moving on the horizontal plane, so we create a new two float variable gethorizontal and getvertical to hold the input position
2. CAMERA and PLAY area
3. Collecting, scoring and BUILDING the GAME
"Unity" First day: Roll-a-ball tutorial