How to Make 3D Game In Unity (Part3)
Вставка
- Опубліковано 6 лют 2021
- Hey Dosto
Yeh Humara 3rd Tutorial Hai 3D CUBE RUNNER Game Ka
Aaj ki Video Main Hum Baat Krege Unity INPUT SYSTEM Ke Bare Main And
Hum Baat Krenge
01:06 INPUT CLASS in Unity
03:55 Getting Input From Keyboard
07:04 First Challenge
08:35 Providing Movement to Player
11:30 Second Challenge
12:34 Why Not Move With Rigidbody
16:53 Fixed Update Method
18:21 Variables
21:01 Final Challenge
Toh Umeed hai Ki Apko Video Achi Lge Gi Agr Achi Lge Toh Plz Video Ko Like Kro , Share kro or Channel ko Subscribe Kro
Thanks for Watching
Game is Inspired By Brackeys
Basic C# Programming Tutorials:
• Creation of C# |C# Bas...
How To Install Unity Game Engine
• How to Install Unity G...
How To Use Unity Game Engine in Hindi
• How To Use Unity Game...
Download Unity Hub: store.unity.com/download
Follow US on Instagram
/ sunnygamesandtechnology
Also Watch Game Development Guide:
• How To Make MONEY from...
#SunnyGamesAndTechnology
#Gamedevelopment
#GameDesigner
#GameDesigning
#Study #Education
#Gamedevelopmentstudy
#GameDevelopmentinhindi
#Gamedevelopmentindia #GameDevelopmentTutorialinHindi
~-~~-~~~-~~-~
Please watch: "Building Our 2d Game For Android !!"
• Building Our 2d Game F...
~-~~-~~~-~~-~
We always support u .
Oh nice sir
For D key (Right Side)
if (Input.GetKey(KeyCode.D))
{
transform.position = transform.position + new Vector3(speed * Time.deltaTime, 0, 0);
}
For A key (Left side)
if (Input.GetKey(KeyCode.A))
{
transform.position = transform.position - new Vector3(speed * Time.deltaTime, 0, 0)
}
This is the only channel which gives knowledge more than expected❤️❤️👍👍
Right
Ab apke video ke addictive ho gya hu ..bas apke next video ka intezar karta hu ..jab new video aati hai to Kushi 😁 x 100 ho jata hai
Good 🤓🤓
Exactly
@@chesstricksandtraps1 😁😁
@TECH A2Z 😁😁😊
First
I was waiting for u ... Love u
O bhai jabardast 🤩😍👏👍
Bhai big hard for your motivation
Provide more vide❤️❤️
Shi h sir aapka tutorial kuch kuch brackeys se match karta h but thats all fine😁😁 sir keep it up......🙏😁
My name is also Prakhar 😂
Thanks for this amazing series 🤗😚
Please continue this epic series!! ❤️
First 😍😍❤❤❤
Gokuldham Society Open World Game Banauga me😂
@Dark 999 FF 😂
🤣🤣🤣
main character- jhetalal gaga, Enemy-Sudar vira
THANK you sir. Plz continue this series 🙏
Bhai just love your video
Plzzz never stop making video
if (Input.GetKey(KeyCode.RightArrow) || (Input.GetKey(KeyCode.D)))
{
transform.position = transform.position + new Vector3(moveMent* Time.deltaTime, 0, 0);
}
if (Input.GetKey(KeyCode.LeftArrow) || (Input.GetKey(KeyCode.A)))
{
transform.position = transform.position -new Vector3(moveMent * Time.deltaTime, 0, 0);
}
// Nice Tutorial bhaiya keep it up i always support you
We always support u
Great video
Gajab bhai mja aa gya main aapki videos suru se end tak dekhta hu without any distraction computer aane wala hai ek do mahine baad and maaine aapki videos se c# bhi seekh li
Sir you are such a good teacher
Im leaening day by day by learning throigh your videos
Great content i am grateful
I can wait for your new video and hope that your channel grows up Sir of Technology
Challenge completed waiting for next tutorial
congradulations for 50k subs
U deserve more tho
best teacher of game development
Thanks sir i am also making a game with my friends these help me .I always support you
Apka har tutorial best hota hai boss.
Thanks you dear
And Congratulations for 50K Subscribers
we always support you sir ........................................
I will always support you
Great
nice video
You're doing a great work.
Finally new video is here
Its was very much helpfull for me you are the best teacher i want teacher like you for my school
Very Helpful video !!!
really very good explanation
Sir you are best teacher😄😊👍👍
Ausome bro 😁
Sir please apna agla part jaldi lana 😃
Vaise aap bahut achha sikhate hain
So
Thankyou so much 😊
amazing bro
Amazing ..
Sir your videos are easy in Language and helpful thanku 🙏🙏🙏
Best
Awesome tutorial bro!
Thank you sir for this video also.
Thnx bhai for your Course .. I Know You are Brackey yeah😆😁
You are the best sir
Superb video bro!! Keep going !!!
Nice
very good video sir
Your true supporter.
Thankyu so much bhai ❤️❤️🙏🏻🙏🏻
Op bahi op
you give easy challenges sir😄😄😄
Amazing video😍😍😍😍😍💖❤💖💖
We support u
Please bring daily tutorials for beginners...
Op bro!
thanks im learning with u
Sir u r da best! 👍
great explanation sir!!!!!
❤️❤️thankyu so much bhai
Sir I was making this game but when I use play button it is showing All compiler errors should be fixed but I have no compiler errors plz help sir
Thank you bhaiya aap bhout Aacha samjhate ho❤❤❤❤❤🎉
Sir aapka padhane ka style bahut accha
Aap kosis karye jaldi jaldi video lane ka sir bahut intjar karte hai aapke video ka
🙏🙏🙏🙏🙏🙏❤️❤️❤️❤️🙏🙏🙏🙏
Please upload next part fast👏
Brother pls make a series of videos suggesting best parts for professional game development computer, hardware and and softwares game dev use and other important things to start game development as a career 🙏
mast op
🔥
Tum mast Kam karta hai sunny bhai
Thanks sir 😊😊
thank you brother love you
Op sir
Nice 👍🏼 nice pic
its simple line 20 or 25 me if me or || operator lagaa kar Input.GetKey(KeyCode.A) or line 25 me Input.GetKey(KeyCode.D) ye likh dena hai bas.....
are but kese??
if (Input.GetKey(KeyCode.RightArrow || KeyCode.J ))
{
transform.position = transform.position + new Vector3(speed* Time.deltaTime, 0, 0);
}
phele mai ese kar rha tha . fir samjha
if (Input.GetKey(KeyCode.RightArrow) || Input.GetKey(KeyCode.LeftArrow))
{
Debug.Log("Right Arrow press");
}
fir samjha ese bhi kar shakte fir show nahi kar rha btw thanks
@@waytofuture
this is the full source code you can use by copy and pasteing it
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class playerscript : MonoBehaviour
{
public Rigidbody rigidbody;
public float force = 1000f;
public float speed = 10f;
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
if(Input.GetKey(KeyCode.D))
{
transform.position = transform.position + new Vector3(speed * Time.deltaTime, 0, 0);
}
if (Input.GetKey(KeyCode.A))
{
transform.position = transform.position - new Vector3(speed * Time.deltaTime, 0, 0);
}
}
private void FixedUpdate()
{
rigidbody.AddForce(0, 0, force* Time.deltaTime);
}
}
Instead you guys should use
public static Vector3 Lerp(Vector3 a, Vector3 b, float t);
For more smooth factor between the a and b axis for your vector points
@@gratesream4766 thinks bro 🙂
Thanks a lot 🌹🌹🌹🌹🌹
Thanks bro.....
Sir aap please next part ko upload kr dijiye mai aapka chhanel hr roz check krta hoon video ke liye
thanks bhai
Bast of all
Thank you🙏🙏 alot sir
Thanks Sir
bro plzz make video daily..
👍👌 I KNOW THIS MEAN YOU LOT
Thanks Bro
You should get nobel prize for this content bro
600 th like!!
😍
Thanks bhai
Thank u sir
Thanks !
In 10 seconds
Sir thanks
Thanks Bro for giving game development tutorials in Hindi
GTA India banaunga mein
thnx mene bhoat kuch sikha aapse sir thanx you so much sir
7:04 when he said its challenge for you to print that in that time I added the force for the cube to move and thee cube was moving. (This is my first game and first experience of coding)
Thank you
love from punjab
Please tutorial ki video jaldi upload karain ..