Car Control Project in Unity 3D
4.0 (26 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
2,372 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Car Control Project in Unity 3D to your Wishlist.

Add to Wishlist

Car Control Project in Unity 3D

A basic overview of important Game components
New
4.0 (26 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
2,372 students enrolled
Created by Gaurav Kumar Roy
Last updated 9/2017
English
Price: Free
Includes:
  • 1.5 hours on-demand video
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • Simple Car Control with keyboard and mouse
View Curriculum
Requirements
  • Unity 3D v5.4 or above
Description

Unity is a cross-platform game engine developed byUnity Technologies, which is primarily used to develop video games and simulations for computers, consoles and mobile devices. First announced only for OS X, at Apple's Worldwide Developers Conference in 2005, it has since been extended to target 27 platforms. This course allows beginners to game developer's in knowing the different components and where to find what.... which component is used where and its basic uses as well. Also, you can follow my studytonight website 2D and 3D game Development and Engineering tutorials for theoretical knowledge as well.

Who is the target audience?
  • Fast learners and Beginners in Game Development
Compare to Other Unity Courses
Curriculum For This Course
15 Lectures
01:20:20
+
Introduction
2 Lectures 07:39
Introduction to Unity-3D & Game Development
01:51

Various Components of Unity 3D Game Engine
05:48
+
Head Start to Unity Game - Objects
6 Lectures 34:40
Creating Road of your Game with 3D planes
09:38

3D Game Object (Cube) & Materials
06:33

Camera-work and Tree object
06:53

using System.Collections;

using System.Collections.Generic;
using UnityEngine;

// Author : Gaurav Karlos Ray

[RequireComponent(typeof(Rigidbody))]
public class FPS : MonoBehaviour
{

    private float speed = 5.0f;
    private float m_MovX;
    private float m_MovY;
    private Vector3 m_moveHorizontal;
    private Vector3 m_movVertical;
    private Vector3 m_velocity;
    private Rigidbody m_Rigid;
    private float m_yRot;
    private float m_xRot;
    private Vector3 m_rotation;
    private Vector3 m_cameraRotation;
    private float m_lookSensitivity = 3.0f;
    private bool m_cursorIsLocked = true;

    [Header("The Camera the player looks through")]
    public Camera m_Camera;

    // Use this for initialization
    private void Start()
    {
        m_Rigid = GetComponent<Rigidbody>();
    }

    // Update is called once per frame
    public void Update()
    {

        m_MovX = Input.GetAxis("Horizontal");
        m_MovY = Input.GetAxis("Vertical");

        m_moveHorizontal = transform.right * m_MovX;
        m_movVertical = transform.forward * m_MovY;

        m_velocity = (m_moveHorizontal + m_movVertical).normalized * speed;

        //mouse movement 
        m_yRot = Input.GetAxisRaw("Mouse X");
        m_rotation = new Vector3(0, m_yRot, 0) * m_lookSensitivity;

        m_xRot = Input.GetAxisRaw("Mouse Y");
        m_cameraRotation = new Vector3(m_xRot, 0, 0) * m_lookSensitivity;

        //apply camera rotation

        //move the actual player here
        if (m_velocity != Vector3.zero)
        {
            m_Rigid.MovePosition(m_Rigid.position + m_velocity * Time.fixedDeltaTime);
        }

        if (m_rotation != Vector3.zero)
        {
            //rotate the camera of the player
            m_Rigid.MoveRotation(m_Rigid.rotation * Quaternion.Euler(m_rotation));
        }

        if (m_Camera != null)
        {
            //negate this value so it rotates like a FPS not like a plane
            m_Camera.transform.Rotate(-m_cameraRotation);
        }

        InternalLockUpdate();

    }

    //controls the locking and unlocking of the mouse
    private void InternalLockUpdate()
    {
        if (Input.GetKeyUp(KeyCode.Escape))
        {
            m_cursorIsLocked = false;
        }
        else if (Input.GetMouseButtonUp(0))
        {
            m_cursorIsLocked = true;
        }

        if (m_cursorIsLocked)
        {
            UnlockCursor();
        }
        else if (!m_cursorIsLocked)
        {
            LockCursor();
        }
    }

    private void UnlockCursor()
    {
        Cursor.lockState = CursorLockMode.Locked;
        Cursor.visible = false;
    }

    private void LockCursor()
    {
        Cursor.lockState = CursorLockMode.None;
        Cursor.visible = true;
    }

// Author : Gaurav Karlos Ray

}

Use of C# Script to move GameObject
05:20

Working with vehicle asset
02:55

Positioning & Moving the car
03:21
+
Final Touch :: Game Designing and beautification
2 Lectures 16:05
Adding Environment Assets
02:43

Adding External Free assets for finishing touch and beautification
13:22
+
Bonus Lectures
5 Lectures 21:56
Use of UI
05:00

Build Unity executable modify with Inno Compiler
06:15

Profiler In Unity 3D
05:38

Tag Feature in Unity 3D
01:54

5 Essential GameObject Transformations
03:09
About the Instructor
Gaurav Kumar Roy
4.0 Average rating
26 Reviews
2,372 Students
1 Course
Developer

Passionate Learner with high ambition; Interested in programming and teaching & Info-Security, Game Development, Software Development. Taught Programming Languages. More than 800 Students (online & offline) from all over the world Faculty at CERTSTORE. Tutorial Writer at w3Schools, StudyTonight, Tutorialscloud. Previously worked at Attocom Pvt. Ltd


★ Comleted : ♢CEH ♢CHFI ♢Networking Analyst (ByteCode Cyber Security Certified) , ♢PMP ♢EC|SA , ♢L|PT, ♢CCNA  ♢OWASP-10 ♢Diploma-in Data & Internet Security(DIS) ♢ Game Engineering & Dev ♢ Adv. Java ♢