Car Controller| Simple Car Game Tutorial 03

Поділитися
Вставка
  • Опубліковано 26 вер 2024

КОМЕНТАРІ • 75

  • @sunnygamedev
    @sunnygamedev  3 місяці тому +12

    Challenge:
    I Want You To Create Bus Controller
    and
    Truck Controller Like i Created
    Very Important for next video

    • @skumarmandal7904
      @skumarmandal7904 3 місяці тому +3

      Bro c# ka basic aata hai par game me script nhi likh pa rha please help me😢

    • @geniusdeveloper7797
      @geniusdeveloper7797 3 місяці тому +1

      Sir can you provide source code I am getting so many error pls

    • @cometgamerid
      @cometgamerid 3 місяці тому

      ​@@geniusdeveloper7797 Server pr error bata do, help ho jaye gu tumhari

    • @Aliumplayz
      @Aliumplayz 3 місяці тому +1

      Yes please provide source code in description box so that we can modify and check every possibilities

    • @gamingcrick9514
      @gamingcrick9514 5 днів тому

      @@skumarmandal7904 baar baar code likho jis se practice hogi to phr
      methods mind me yaad rhy gy

  • @NasirHameed-k9f
    @NasirHameed-k9f 3 місяці тому +2

    Waited a long for these precious 12 minutes

  • @Ahsan2023
    @Ahsan2023 3 місяці тому +5

    Make Camera Round arou car and add Player
    To make it like Open World game also add NPCs plzz

  • @Shahzaib_web
    @Shahzaib_web 2 місяці тому

    I love your teaching method 😁

  • @saurabhsharma-qw1io
    @saurabhsharma-qw1io Місяць тому

    Excellent video series

  • @fire6639
    @fire6639 3 місяці тому +1

    Thank you for your lovely tutorial

    • @BGISLIVE2026
      @BGISLIVE2026 2 місяці тому +1

      Bro tum kis traha ka game bana rahe ho

    • @fire6639
      @fire6639 2 місяці тому

      @@BGISLIVE2026 kuch unique bana raha hu

    • @BGISLIVE2026
      @BGISLIVE2026 2 місяці тому

      @@fire6639 unique? Matlab mera matlab hai kis typ ka game car racing 🏁 freefire jaisa simpal game ya gta jaisa small game

    • @BGISLIVE2026
      @BGISLIVE2026 2 місяці тому

      Tum ne abhi tak koi game banaye hai ya nahi

  • @GameDynastyPro
    @GameDynastyPro 3 місяці тому +3

    Zabrdast 👍 Ab mein b apni game banaon ga 😁.

    • @BGISLIVE2026
      @BGISLIVE2026 2 місяці тому

      Bro tum kis traha ka game bana rahe ho

  • @mohit_yt_user
    @mohit_yt_user 3 місяці тому +5

    Bhaiya video thoda jaldi upload karo,,,,,,,,,🥺 and also ❤❤❤❤❤❤

    • @BGISLIVE2026
      @BGISLIVE2026 2 місяці тому +1

      Bro tum kis thara ka game bana rahe ho

  • @Ahsan2023
    @Ahsan2023 3 місяці тому +2

    Make FPS controller using Easiest Method also
    In Next part add Mobile Joystick and Touch Screen control to it plzzz

  • @arshilislive302
    @arshilislive302 3 місяці тому +2

    Bhai next video 6 day ke andar bhej do please

  • @Emoeror
    @Emoeror 3 місяці тому +2

    Bahut intjaar karaya 😂😂

  • @lakshya2204
    @lakshya2204 3 місяці тому +2

    Sunny: me thak gya ho Abb next video agle saal ayege

  • @the_sahoo
    @the_sahoo 3 місяці тому +1

    ❤❤❤

  • @ktmriderking1373
    @ktmriderking1373 3 місяці тому +3

    First viewer ❤❤❤

  • @Mobile_._Games
    @Mobile_._Games 2 місяці тому +1

    Bhai aage wali video me yeh bata dena ki jab hum play store per game ko public kre toh game ke ander kya kya chiz hone chahiye Like Privacy Policy ( Analytics and admob use kre uske liye) bhai please please please please please please please🙏🙏🙏🙏

  • @SarojBhurtel-j6x
    @SarojBhurtel-j6x 2 місяці тому

    sir please can you make a video about how to add simple graphics in this game..

  • @cometgamerid
    @cometgamerid 3 місяці тому +2

    Yeh bacha kidhr sy aya 😲

  • @YourUnityhelper
    @YourUnityhelper 3 місяці тому

    Hello bro one suggestion please add bike controller it will be really helpful for me as well as the fellow audience 😊

  • @skumarmandal7904
    @skumarmandal7904 3 місяці тому +3

    Bro c# ka basic aata hai par game me script nhi likh pa rha please help me😢

    • @bgankitff2917
      @bgankitff2917 3 місяці тому

      Bro code ke liye chat gpt ki help lo . Lekin tumhe ye pta hona chahiye ki generate Kiya gya code kaha or kis chij ke liye use ho raha hai

  • @shiveshpanesar3842
    @shiveshpanesar3842 3 місяці тому

    Next playlist in third person shooter with AI and multiplayer and bhai please video thodi jaldi upload kro

  • @djfighter5018
    @djfighter5018 3 місяці тому +1

    👍👍👍

  • @mostofahossain1683
    @mostofahossain1683 2 місяці тому +1

    Videos jaldi jaldi dalo vaiiiiiiii

  • @electraelectric9596
    @electraelectric9596 3 місяці тому +1

    3d zombie shooting game banao

  • @djbrothersreactions
    @djbrothersreactions 3 місяці тому

    good bro

  • @nrkgaming5822
    @nrkgaming5822 3 місяці тому

    After this video car controller part is complete??👍

  • @cometgamerid
    @cometgamerid 3 місяці тому +1

    ❤️❤️

  • @roshanrathod8718
    @roshanrathod8718 2 місяці тому

    Bro you use public whillcollider but it does not show in my vs studio help me

  • @ajaytechgamer
    @ajaytechgamer 3 місяці тому

    Please sir make a video on how to make a train game from unity

  • @holymoly6859
    @holymoly6859 Місяць тому

    Even if motorForce is in increased, the speed of the car doesnt increase. How do i fix this?

  • @ktmriderking1373
    @ktmriderking1373 3 місяці тому +2

    ❤❤❤ 1th

  • @abtech6542
    @abtech6542 2 місяці тому

    Bro next part kab aye ga😢

  • @mr.akash_gamers
    @mr.akash_gamers 3 місяці тому

    Sir Mere game me Admob ads serving enable hai
    Per game me ads chal nahi Rahi please help kijiye sir Yeh problem kaise solve kru

  • @YouTube_SG
    @YouTube_SG 3 місяці тому

    Bhi mobile control kese dale batado pleas🙏

  • @Shubh...........
    @Shubh........... 2 місяці тому

    sir please first person controller NEXT

  • @AbdulWahab-dc9yj
    @AbdulWahab-dc9yj 3 місяці тому

    Bhai is k baad granny jedi koi horror game bnana

  • @zainqayyum8435
    @zainqayyum8435 2 місяці тому

    isko android me kaise convert krna hai?

  • @guestofunitedstates
    @guestofunitedstates 3 місяці тому +1

    Bro apko e unity ka physic and code kaha se milta hai

    • @BGISLIVE2026
      @BGISLIVE2026 2 місяці тому

      Bro tum kis tra ka game bana rahe ho

  • @HemantPatel70
    @HemantPatel70 3 місяці тому

    Sir 12:54 minutes ki video me 13 days lag gaye 😢 Kam se kam week me ek video upload kar diya karo

  • @ANDROIDGAME17
    @ANDROIDGAME17 3 місяці тому

    Bro' plzzzzzz complete this series

  • @rammm_0
    @rammm_0 25 днів тому

    Hello Sir, I want to become Unity developer.. But there is no one here to teach me.. So I request you to please make a video on C# language for Unity. Please . I will wait for your reply. please help me main aapke har video me comments kar rha hu taki aap ka reply mil ske please help me sir
    H

  • @a.r.9024
    @a.r.9024 3 місяці тому

    Bro can I use unity engine without mouse 😢 I don't have mouse and please make video on how to make running game like subway surfers I just saw a demo game or something like that in unity engine please check ❤

    • @lakshya2204
      @lakshya2204 3 місяці тому

      Bro mene recently hi sub way sufer jaisa game banaya hai...

    • @therealhecker
      @therealhecker 3 місяці тому

      bro using any game engine without mouse is almost impossible ..as we are working in 3d space for navigating we must have a mouse

    • @a.r.9024
      @a.r.9024 3 місяці тому

      @@lakshya2204 how bro can you please tell me 😢 🥺🥺🥺 pls bro

    • @a.r.9024
      @a.r.9024 3 місяці тому

      @@therealhecker oh no 😢😢😢

    • @lakshya2204
      @lakshya2204 3 місяці тому

      @@a.r.9024 first tell me what do you want ?

  • @mayankexperimentsandunboxi2132
    @mayankexperimentsandunboxi2132 2 місяці тому

    Video Dal Do please 🙏🙏

  • @zainqayyum8435
    @zainqayyum8435 2 місяці тому

    from pakistan

  • @kaushikdas8847
    @kaushikdas8847 2 місяці тому

    Vaiya ap spine vi shikhou na please

  • @saniyakhansaniyakhan9076
    @saniyakhansaniyakhan9076 3 місяці тому +1

    Sir according to me instead of writing this -
    if (Input.GetKey(KeyCode.Space))
    {
    FrontRightWheelCollider.brakeTorque = 1000f;
    FrontLeftWheelCollider.brakeTorque = 1000f;
    BackRightWheelCollider.brakeTorque = 1000f;
    BackLeftWheelCollider.brakeTorque = 1000f;
    }
    else
    {
    FrontRightWheelCollider.brakeTorque = 0f;
    FrontLeftWheelCollider.brakeTorque = 0f;
    BackRightWheelCollider.brakeTorque = 0f;
    BackLeftWheelCollider.brakeTorque = 0f;
    }
    Cant we just write this -
    if (Input.GetKeyDown(KeyCode.Space))
    {
    FrontRightWheelCollider.brakeTorque = 1000f;
    FrontLeftWheelCollider.brakeTorque = 1000f;
    BackRightWheelCollider.brakeTorque = 1000f;
    BackLeftWheelCollider.brakeTorque = 1000f;
    }
    Explain me if I am wronge. Thanx

  • @ChemistMistry
    @ChemistMistry 3 місяці тому +1

    😂

  • @krifx6279
    @krifx6279 2 місяці тому +1

    bhaiya video dal do nai to unsubscribe car dunga😡😡😡

  • @hnz4.thear-thororigins.400
    @hnz4.thear-thororigins.400 3 місяці тому +1

    using UnityEngine;
    public class CarRollover : MonoBehaviour
    {
    public float rolloverThreshold = 45f; // Angle at which the car starts to roll over
    public float rollSpeed = 2f; // Speed of the roll
    public float resetDelay = 2f; // Delay before the car is reset to its wheels
    public float uprightTorque = 10f; // Torque to help the car return to an upright position
    private bool isRollingOver = false;
    private float rolloverTimer = 0f;
    private Rigidbody rb;
    void Start()
    {
    rb = GetComponent();
    }
    void Update()
    {
    // Check if the car is tilted beyond the rollover threshold
    float tiltAngle = Vector3.Angle(Vector3.up, transform.up);
    if (tiltAngle > rolloverThreshold)
    {
    isRollingOver = true;
    rolloverTimer += Time.deltaTime;
    if (rolloverTimer > resetDelay)
    {
    // Reset car position
    ResetCarPosition();
    rolloverTimer = 0f;
    }
    }
    else
    {
    isRollingOver = false;
    rolloverTimer = 0f;
    }
    }
    void FixedUpdate()
    {
    if (isRollingOver)
    {
    // Apply torque to roll the car over
    Vector3 rollDirection = Vector3.Cross(transform.up, Vector3.up);
    rb.AddTorque(rollDirection * uprightTorque * rollSpeed);
    }
    }
    private void ResetCarPosition()
    {
    // Reset rotation and position slightly above the ground
    transform.rotation = Quaternion.Euler(0, transform.eulerAngles.y, 0);
    rb.velocity = Vector3.zero;
    rb.angularVelocity = Vector3.zero;
    transform.position += Vector3.up * 0.5f; // Adjust the height as needed
    }
    }
    Sir please, explain to me about this Car rollover physics code 🙏🙏🙏🙏🙏
    Please sir please 🙏🙏🙏🙏.

    • @lakshya2204
      @lakshya2204 3 місяці тому

      Bhai jada muskkilll nhi hai... Just thoda physics add hai islye mukhkil lg rha hai wrna simple script hi

  • @cometgamerid
    @cometgamerid 3 місяці тому +13

    Aaj mera comment viral ho ga 🥰

  • @electraelectric9596
    @electraelectric9596 3 місяці тому

    Zombie shooting game banao

  • @user-dp3js7bt1h
    @user-dp3js7bt1h 3 місяці тому

    ❤❤❤❤

  • @zainqayyum8435
    @zainqayyum8435 2 місяці тому

    best tutorial ever🥰🥰🥰🥰🥰

  • @Abdullah.Gill182
    @Abdullah.Gill182 3 місяці тому

    Next video kab aya gii sir

  • @blasterxt9
    @blasterxt9 2 місяці тому

    How to market video game