Тёмный

How To Make An FPS Player In Under A Minute - Unity Tutorial 

All Things Game Dev
Подписаться 1,8 тыс.
Просмотров 152 тыс.
50% 1

Very fast tutorial to make an FPS character in Unity in less than a minute!
PasteBin link for code: pastebin.com/RXZ1dXgw
GitHub link: github.com/dustinmorman/FPSCo...
Link to my Upcoming Game - Survive the Uprising: store.steampowered.com/app/19...
Link to the Discord - / discord
Link to Patreon - / dustinmorman

Хобби

Опубликовано:

 

4 окт 2022

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 403   
@meemii791
@meemii791 2 месяца назад
I just started using Unity. I watched many tutorials and none of them worked. I was so happy when this worked for me with no errors. Thank you so much!!
@solidbuildconstructions13
@solidbuildconstructions13 9 месяцев назад
Thank You So Much! This really helped me create quick movement without having to sit through a 30 minute long tutorial on literally the same stuff that you did in 59 seconds. I really appreciate it. 👏👏👏
@lakshya2204
@lakshya2204 Месяц назад
what about your knowledge when you make a whole big game then if occur any issue in this what will you do .......just say to your own: why i was get quick movment trick that time is all of that
@PaziaTV
@PaziaTV Год назад
Plain and simple. Just what I needed. Many thanks!
@limbo.media_
@limbo.media_ Год назад
You actually teached me more in 1 minute than my awesome Unity teacher in 4 months
@monsterofrods
@monsterofrods Год назад
Thank you so much! This was actually way more easy then I thought
@shyameet
@shyameet Год назад
omg th ank you so much , u explained it in less than 1 minute what other people couldnt . THANKS AGAIN
@justinarnolduk
@justinarnolduk 4 месяца назад
Fantastic! Thank you so much, this was the most useful 59 seconds I've come across in the past week of searching.
@berkersenol3901
@berkersenol3901 17 дней назад
It was the one of the best tutorial that i have watched in a while, thank you so much :)
@traphouseapps562
@traphouseapps562 Год назад
Spot on! Did exactly what I wanted it to do! Thanks!
@lordaloa
@lordaloa 8 месяцев назад
liked and subbed this is so handy nothing extensive just code with small overview for me to read and a small setup tut. PERFECT
@xXNo_OneXxx
@xXNo_OneXxx 2 месяца назад
THE most helpful tutorial ive ever seen! Thank you so so SO much!
@Fett_s
@Fett_s 6 месяцев назад
Bro thank you so much, I was watching a video how to make a game and they basically skipped over how to make the camera move and this helped so much beacsue i dont even have to add movement
@pandapixelxs
@pandapixelxs Год назад
MY GOD MAN THANK YOU SO MUCH I'VE BEEN SEARCHING FOR A LONG TIME (more than a day) NOW I CAN MAKE MY GAME THANK YOU SO MUCH
@DETANOX
@DETANOX Год назад
Thanks! works amazing, one of the best tutorials out there!
@SmellinMelon
@SmellinMelon Год назад
I can't get it to work, it says "can't add script component because the script class cannot be found
@Scaper_PT
@Scaper_PT 2 месяца назад
Thanks, really simple, not long video, no errors
@OGMelody301
@OGMelody301 Год назад
But i have a question, how can i add a camera bob into the player movement? Because it looks weird with no camera bob.
@jehriko7525
@jehriko7525 11 месяцев назад
Thanks bro, gunna keep watching your stuff!
@inquisiteexplorer
@inquisiteexplorer Год назад
Thank you bro i was looking for this since 2020!
@3VOX3
@3VOX3 11 месяцев назад
Thank you for making this, tried many tutorials but you helped the most!
@Justicefu
@Justicefu 11 месяцев назад
is there an easy way to prevent it from automatically pitching down 45degrees on load?
@StickyCerealStudios
@StickyCerealStudios 11 месяцев назад
My question is how do you like IMMEDIATLEY type variables and other things in the C# script (I just switched from C++)
@Nick-gb3rq
@Nick-gb3rq Год назад
Thank you for making this plain and simple
@profavanessabohn4634
@profavanessabohn4634 Год назад
AMAZING!!!!! Thanks for sharing it with us !! It helped me a lot
@pugwilldestroygaming9769
@pugwilldestroygaming9769 11 месяцев назад
This tutorial was so easy to follow!! thx for the help!
@chelseaqiao
@chelseaqiao 9 месяцев назад
The void start got an error it says tot-level statement must precede namespaces and type declarations. Please fix it for me.thanks
@Beardedprof
@Beardedprof 6 месяцев назад
Im having a weird issue with jumping, after the first jump the PC wont jump after that, only lets you jump once and thats it.
@_x4sh_
@_x4sh_ Год назад
Thanks for teaching me! it was very simple and easy to do!
@I-have-no-idea-rq3rj
@I-have-no-idea-rq3rj 11 месяцев назад
Thank you, but what do you have to put as a code to crouch character?
@Vr-able
@Vr-able 4 дня назад
When I put the script into the player components, it doesn’t say any of the options and when I try to play I can’t move at all.
@xXNo_OneXxx
@xXNo_OneXxx 2 месяца назад
for some reason, when it starts, the camera isnt locked on the player! please tell me how to fix it.
@TophatguyVR
@TophatguyVR 4 месяца назад
some of the text doesnt get colored and i dont get the player camera window
@thatonegamer6032
@thatonegamer6032 9 месяцев назад
I cant turn the camera using my mouse, but i copied over the code over exactly how do i fix this
@awofficial11
@awofficial11 2 месяца назад
This worked perfectly, but just one question, how do I invert the Vertical axis when looking around? When I move my mouse up, it looks down and vice versa
@linkage8700
@linkage8700 3 месяца назад
Thank you for your help. I'm currently trying to become more familiar with Unity. As a visual learner, I find it easier to learn by seeing. Although I have some knowledge of programming and Blender modeling, I am interested in bringing one of my game ideas to life. So the more hands playing with the engine the better. I'll make sure to check out your other videos for more content like this.
@yellowjack7733
@yellowjack7733 5 месяцев назад
Anybody else getting a namespace error?
@kompadoodle
@kompadoodle 4 месяца назад
does anyone know how i could remove the movement acceleration and deceleration from this?
@davidienyt
@davidienyt 10 месяцев назад
My mouse look doesn't work, does anyone have any suggestions? I'm on the HDRP if that changes anything. :(
@IUniquezI
@IUniquezI Год назад
Im having a problem. My character keeps bouncing, and then falls off. how do I fix that?
@1proxd
@1proxd Год назад
really thanks bro . and pleas add more from this videos ! i got 3 days try to know how to add a player !
@nothingplayzz361
@nothingplayzz361 2 месяца назад
Hello. I'd like to ask what unity version are you using? it doesn't work for me I don't know what's wrong : (
@IndyCoreStudios
@IndyCoreStudios 6 месяцев назад
The arrow keys don't work after installing the script in the player. I don't know why. Do you know why?
@RoysMema
@RoysMema 3 месяца назад
am i the olny one but why for me the FPS controller script doesn't show the Player Camera and i can't put the main camera in it
@SharkboyGamer2018
@SharkboyGamer2018 Год назад
can anyone help? i followed everything and rewatched the video 3 times so i didnt do any mistake. i cant move or do anything.
@thesomberknight8469
@thesomberknight8469 2 месяца назад
I hade multiple unsolvable bugs in the jump area and one about the ”clamp” at the end so I didn’t work and I spent almost 2 hours trying to fix it
@RobynYTgames
@RobynYTgames Месяц назад
Is it possible to add view bobbing to your player?
@worldwidejinius4899
@worldwidejinius4899 3 месяца назад
how do you change the sensitivity of the FPS controller?
@user-hw4jd1bt9r
@user-hw4jd1bt9r 8 месяцев назад
i dont have anything named character controller so it wont let me put the camera in player camera some one help me to enable this feature
@Edi_plays_horror_games
@Edi_plays_horror_games 3 месяца назад
THANK YOU SO MUCH I NEEDED THAT
@jynxfatez
@jynxfatez Год назад
It worked pretty well, except that the vertical look rotation is inverted, but other than that, this is how tutorials should be made! no useless filler content and time-wasting nonsense!
@AldoYoshi05
@AldoYoshi05 Год назад
Yeah, the rotation up and down are inverted @jynxfatez7840 how did you fix it? Plz
@Niazi187
@Niazi187 10 месяцев назад
I have done scripting and designing but I can't load script into the unity can u help me sir
@heylo0
@heylo0 11 месяцев назад
I have no clue what happened but i straight up cant move. The Camera works fine its just that WASD, Shift and Space dont do anything to move the character. I assume this has something to do the the Character Controller but i dont know what to do.
@SkyfireReacts
@SkyfireReacts 2 месяца назад
Can you also tell us how to make a sensitivity controller for ingame
@JustBasicAnimator
@JustBasicAnimator 10 месяцев назад
AMAZING TUTORIAL BEST ONE IVE EVER FIND
@Wookie-1
@Wookie-1 4 месяца назад
Bro please help at 0:49 i dont have any options to edit its just greyed out please help me.
@nickgonezapolis
@nickgonezapolis 3 месяца назад
This is working great except I can't use my mouse to turn while moving with WASD keys. Mouse works fine with arrow keys. Any idea why it does this?
@JWoods456
@JWoods456 6 месяцев назад
Excellent video, got wat I wanted quickly
@monkevr323
@monkevr323 7 месяцев назад
how do you add a player model with this?
@InfidelAtWork
@InfidelAtWork Год назад
IF ANYONE HAS A PROBLEM WITH PLAYER FALLING THROUGH THE PLANE: do not create empty object. Just create a capsule and put the camera inside capsule. It helped me.
@BlockySlime
@BlockySlime Год назад
thanks so much bro this saved me an hour 🙏🙏🙏
@DP_Productions658
@DP_Productions658 11 месяцев назад
@@AKSGoldenFireYT I had the same issue, I put mouseX by accident, I put in the space and it got fixed for me.
@tmmdti2023
@tmmdti2023 11 месяцев назад
Thanks, life saver!
@jimtsiob6723
@jimtsiob6723 9 месяцев назад
You're awesome bro! Thanks for sharing your solution, removing the GameObject finally made the capsule not fall off. :)
@BINATH1ST
@BINATH1ST 7 месяцев назад
THANKS I WAS SO ANNOYED
@yazidloveschoclate
@yazidloveschoclate 12 часов назад
i did it i watched 12 tuotrials and none worked this made me soo happy!
@gaminglion4315
@gaminglion4315 4 месяца назад
I don’t like the way it floats. Anyone have a fix for that
@AW_Spartn
@AW_Spartn 11 месяцев назад
the player wouldn't move foe me. It changes the view perfectly but I cant move or look around
@0.ENMITY
@0.ENMITY 6 месяцев назад
the camera cant rotate and i keep getting an error like playerCamera not assigned
@thatoneanimator1878
@thatoneanimator1878 11 месяцев назад
why dont i have the player camera option?
@user-yd6dx2io5c
@user-yd6dx2io5c 11 месяцев назад
you just made my day bro thanks
@asoto4356
@asoto4356 Год назад
love you bro, been trying to fix that for a week
@MalikBogondon
@MalikBogondon 6 месяцев назад
finally someone will make an easy tutorial and still explain it
@ethanchristensen5554
@ethanchristensen5554 Год назад
Anyone know why my Clamp is underlined in red?
@0.ENMITY
@0.ENMITY 6 месяцев назад
how do i do this with URP rendering?
@CyberMan4858
@CyberMan4858 4 месяца назад
0:50 all the stuff under the character controller script wont show up for me
@NtaLOL_XD
@NtaLOL_XD 4 месяца назад
This is an awesome code to work off of, i'm thinking of adding some FOV increase to the player camera when it runs.
@jszpila
@jszpila 8 дней назад
There is no player camera slot for me??
@Concertfiend1
@Concertfiend1 3 месяца назад
can you do one that shows how to add held items in first persson
@10ev696
@10ev696 Год назад
thank you a lot its the quickest and most usefull tutorial
@NHE-shorts
@NHE-shorts Месяц назад
My cursor won’t hide any tips
@SpinXCreations
@SpinXCreations 2 месяца назад
Thank you sooooooooo much you deserve 1mil subs here is a subscriber for you☺
@theeverythingboys505
@theeverythingboys505 7 месяцев назад
i am getting a error for the Vector3 forward
@Maboonel
@Maboonel 6 месяцев назад
Great. Works perfect. Thank you!
@BadPixie
@BadPixie 4 месяца назад
what if i want a 1st person camera
@TheMisieg0069
@TheMisieg0069 Год назад
I can't add fps controler script as component (I'm new at coding so..)
@SMJ64jv
@SMJ64jv 8 месяцев назад
witch kyes make you move
@user-uv2be2pr1c
@user-uv2be2pr1c 8 месяцев назад
thank you for the tutorial, i love it
@nooooooooooooooooooooooooooobe
how do i start writing the code i cant open it i have never used unity before lol
@luigimich_
@luigimich_ 7 месяцев назад
bro did a speedrun, and it worked, thanks!
@user-ve5fw3vr6m
@user-ve5fw3vr6m 4 месяца назад
why are the object tops not colliding???!!!
@giddyhaddcock_gaming5396
@giddyhaddcock_gaming5396 3 месяца назад
the isGrounded part is error for me
@NiceBot953
@NiceBot953 2 дня назад
It's working but why i fall through the ground?
@ruvty3742
@ruvty3742 2 месяца назад
Thanks man,easy and cool!
@yalidirt3419
@yalidirt3419 Год назад
Clear! Easy! Thanks So much!
@lnhp5592
@lnhp5592 Год назад
Can't thank you enough for this, finally a controller that actually works, gg ✌
@varone79
@varone79 Год назад
This should be eas- AHHHH THIS IS TOO FAST!!!
@ishatmapants
@ishatmapants Год назад
nah it worked for me but i can only jump one singular time tho idkw or how to fix it
@ishatmapants
@ishatmapants Год назад
i fixed it lol
@mangawi5169
@mangawi5169 Год назад
@@ishatmapants how
@BonesOfficial_
@BonesOfficial_ 6 месяцев назад
I have a solution 0.5 speed
@tezbriz
@tezbriz 5 месяцев назад
I know right
@visceralvore
@visceralvore 6 месяцев назад
Could you make tutorial how to mantle over obstacles with FPS player?
@user-ph1wl6fg9u
@user-ph1wl6fg9u 4 месяца назад
why is my "Time" in "Time.deltaTime" not turning green ;-;
@paininkabir4760
@paininkabir4760 3 месяца назад
Cursor doesn't work on me? Can anybody halep?
@Justin-tw6lx
@Justin-tw6lx 5 месяцев назад
Worked beautifully
@liam9489
@liam9489 11 месяцев назад
Thank you so much it even works in the latest version of unity!!!! can you add a Wall run tutorial for this Controller?
@26kolii
@26kolii 5 месяцев назад
my character keeps going to the right when i walk, please help
@mlpfreddy9603
@mlpfreddy9603 11 месяцев назад
DUDE YOU TEACHED ME IN A MINUTE WHILE 30 MINUTE VIDEOS COULDNT! THANK YOU!
@bmmmbloxnews6165
@bmmmbloxnews6165 3 месяца назад
it worked but the up and down movement is inverted
@bgaming9.
@bgaming9. 5 месяцев назад
is there anything i could add to make it move along with a moving object if it stands on it?
@tomedwards6512
@tomedwards6512 4 месяца назад
I would recommend using rigid body stuff for that, but it depends on what you want in terms of how fast or responsive your character is
@jackgames3009
@jackgames3009 10 дней назад
Cursor script doesn't work, it's still visible and not locked
Далее
I Made the Same Game in 8 Engines
12:34
Просмотров 3,9 млн
I Melted Wood With Friction
8:44
Просмотров 820 тыс.
I Made Among Us, but it's 3D
15:56
Просмотров 20 млн
Best FREE Software for Game Development in (2024)
8:01
How to make The Best First Person Camera in Unity
9:04
3 Hours vs. 3 Years of Blender
17:44
Просмотров 4,3 млн
Using Image Recognition to DESTROY Fruit Ninja
10:08
Просмотров 602 тыс.
I Made my First Game in 24 HOURS
6:04
Просмотров 983 тыс.
Why Do Video Game Studios Avoid Blender?
6:49
Просмотров 426 тыс.
I Made a Game Using ChatGPT
9:51
Просмотров 2,6 млн
CAA Conversion kit at ZAHAL 🎯
0:14
Просмотров 25 млн
What it feels like cleaning up after a toddler.
0:40
Поел индийской еды...
0:15
Просмотров 1,9 млн