Kickstart your game with First and Third Person Controllers! (FREE Unity Starter Assets)
HTML-код
- Опубликовано: 18 июл 2021
- 🌍 Get my Complete Courses! ✅ unitycodemonkey.com/courses
👍 Learn to make awesome games step-by-step from start to finish.
📝 Get the FREE Unity Starter Assets assetstore.unity.com/packages...
assetstore.unity.com/packages...
🎮 Get my Steam Games unitycodemonkey.com/gamebundle
💬 Unity has recently published two really awesome FREE asset packs.
A First Person and a Third Person Controller. These are the perfect assets to very quickly get started on any idea you have.
Just drag and drop a few prefabs and you literally have a fully working FPS or TPS character working!
POLYGON Battle Royale assetstore.unity.com/packages...
Starter Assets - Third Person Character Controller assetstore.unity.com/packages...
Starter Assets - First Person Character Controller assetstore.unity.com/packages...
🌍 Get Code Monkey on Steam!
👍 Interactive Tutorials, Complete Games and More!
✅ store.steampowered.com/app/12...
If you have any questions post them in the comments and I'll do my best to answer them.
🔔 Subscribe for more Unity Tutorials / @codemonkeyunity
See you next time!
📍 Support on Patreon / unitycodemonkey
🎮 Grab the Game Bundle at unitycodemonkey.com/gameBundl...
📝 Get the Code Monkey Utilities at unitycodemonkey.com/utils.php
#unitytutorial #gamedev #unity #unity3d #unity2d #indiegame #gamedevelopment #madewithunity #indiedev
--------------------------------------------------------------------
Hello and Welcome!
I'm your Code Monkey and here you will learn everything about Game Development in Unity using C#.
I've been developing games for several years with 8 published games on Steam and now I'm sharing my knowledge to help you on your own game development journey.
I do Unity Tutorials on just about every topic, Unity Tutorials for Beginners and Unity Tutorials for Advanced users.
You can see my games at www.endlessloopstudios.com
--------------------------------------------------------------------
- Other great Unity channels:
Unity - / unity3d
Brackeys - / brackeys
Dani - / @danidev
Jabrils - / @jabrils
BlackthornProd - / @blackthornprod
Sykoo - / sykootv
Jason Weimann - / @unity3dcollege
Jonas Tyroller - / @jonastyroller
--------------------------------------------------------------------
- Website: unitycodemonkey.com/
- Twitter: / unitycodemonkey
- Steam: store.steampowered.com/develo...
👍 Stay tuned for some awesome videos using these Starter assets as a base!
🌍 Get my Complete Courses! ✅ unitycodemonkey.com/courses
📝 Get the FREE Unity Starter Assets assetstore.unity.com/packages/essentials/starter-assets-third-person-character-controller-196526?aid=1101l96nj&pubref=starterassets
assetstore.unity.com/packages/essentials/starter-assets-first-person-character-controller-196525?aid=1101l96nj&pubref=starterassets
Have you thought about a key code to be able to change from first to third person? Similar to the way pubg can use both. But I stead of changing between games, change view during game with the h key for an example
@@tmoneygamestudio That's tricky because usually the 3rd person models are completely different from the first person models. So you need to change all of that, it's not as simple as just zooming in.
But it's certainly doable!
@@CodeMonkeyUnity I was thinking like having both the arms, camera and weapon of fps and the entire model and camera for tps and disable on when you switched camera modes. But I'm not that proficient with C# to get the code correct.
are you going to do an updated one with visual scripting? Or add a udemy course that covers UVS for a third person shooter?
If anybody is having issues with urp :
Window -> Rendering -> Render pipeline Converter
Choose Built in to URP
Check rendering settings and Material Upgrade
initialize Converters
Convert Assets
now instead of having the starter model textures ruined, i have all the texture in the scene and material folder ruined and only the starter model is good... :/
ok i did it a second time the same process and it worked. Ok Unity!
This ^ was useful... thanks bro! nothing worse than being stuck on the most simple part :P
hey very much thanking you i was exhausted finding this
i cant find it in 2022\3\27f1
Any new videos talking about the Cinemachine Collider is much appreciated!
A video on the new Input system would be great, but more than that, I would love to see a deep dive on Render Pipelines. What they are, how they work, why I need them (most important), how to implement them, and the different types.
Awesome. I've been doing the Unity Learn courses to get up to speed, and obviously, a lot of it is from the ground up; so it's amazing to see how many tools exist for bootstrapping a new project. I will definitely revisit this video when I get around to attempting my own game.
Thank you for this nice tutorial. I really liked the parts where you explained some of the properties of the controllers and how you simply added Synty characters to the game!
Great video! Definitely using these for my next projects!
Would be awesome to see how you would adapt these starter assets into other things. Not just a shooter but maybe a melee fighting game too.
Would love to see how you'd handle adding third person shooter aspects to this base. Thanks for the nifty content!
Same! Would love a tutorial about it 😍
Same!
@@carterearles9528 He said he is working on it! :D I'm so happy!!
same!!
It's already happening! :D
Just a quick heads up, after you have the controllers in your project, you can add the new controllers to a scene quickly by clicking on Tools > Starter Assets > Reset Third Person Controller Armature (or First Person) and it will automatically set up the controller for you.
Oh good one I didn't experiment with that.
Thank you for existing! This is gold!
This is actually extraordinarily useful, because I didn't know you could choose to use the legacy input system. The new input system fubar's everything and makes something trivial, into something that is not at all trivial. Great job Unity! but tyvm Code Monkey, I was starting to refresh my UE4 now UE5 skills, because a player controller shouldn't be rocket science (and I've done the math required to do rocket science). I will try this and see if I can continue to justify the time I spend learning Unity now.
Thanks a lot! Really helped. Wouldn't know what to do without guys like you making videos like this!!
I'm glad it helped!
It helped me a lot. Thank you!
Yes, I want a tutorial for 3rd person shooter game in UNITY!
Awesome thanks for this! 🎉
Great video, having player controllers ready on the go saves so much time.
Hi i have a question about that video. How to move third person view to first person. And how to chage that adjustment. Please help me.
it should be just changing cameras with an input@@suchinthasuriyaarachchi8184
I find your voice very relaxing but not to the point to putting me to sleep. If I am stressed, I watch one of the tutorials you made and I feel my stress evaporating. I also love what you teach and the way you teach it so I can understand. Thnx!
Thanks for the kind words!
I have to thank u this time again, i should download this tutorial because i used it to put a well designed character in the place of this basic one and combined with magic2 terrain, mountains, trees.. i have a good looking character walking, running and jumping in a gigantic map.
Recently i was changing the lighting, grass and terrain into a dark and gloomy atmosphere but with barely a tiny fog and everything looks awesome.. thanks for this tutorial.
I must say, until now, unity its a pretty simple engine but i dont know anything about C# and i should learn.
Thank you so much, I've done this with you lesson.
This was amazing, thank you!
Hi i have a question about that video. How to move third person view to first person. And how to chage that adjustment. Please help me.
Thank you, I've struggled with pink look, now it's ok :)
This is perfect. Thank you
Wow! Great video. And yeah we want to see an FPS based on this
Hi i have a question about that video. How to move third person view to first person. And how to chage that adjustment. Please help me.
Very nice, thank you!
Really good video i liked it and i want to see video about how to add like new inputs or like how to add combat on that unity's starter asset
Hi dude great video as always! I also wanted to ask if you can explain how games like Outer Wilds makes star system you can travel in and circular planets and physics
Great tutorial as always!
Hi i have a question about that video. How to move third person view to first person. And how to chage that adjustment. Please help me.
You are a saint.
I love it, thanks
thank you! nice tutorial
Great video! Thanks so much
Hi i have a question about that video. How to move third person view to first person. And how to chage that adjustment. Please help me.
Thanks so much :)
Congratulations for 300k
Thanks! It's been a long journey!
Good stuff 👏 👍
great stuff, thanks
Thank you a lot the only clear tutoriel and its working thank you bby
thankk youuuu!! life saver
Nice video like always. :) If you plan do video about new input system maybe you will record something about using it with touch/mouse device ex, swipe, tap, drag, move camera when cursor is on the screen edge or using it with UI or something like that because on RUclips are a lot of basics tutorials how using it with keyboard and pads. :)
Yeah I'm currently researching it and still not sure how or if it works with Mobile input. It seems like this asset doesn't have any touch input in the input system asset so not sure how its being handled.
Thank you !!!!
Cool, you help me so much man, thanks you very much
Do you know what is the best free and pay options to make a RPGMMO multiplayer in Unity?
Hi i have a question about that video. How to move third person view to first person. And how to chage that adjustment. Please help me.
One more great video! Thanks!
Make a video of adding third person shooter :)
Hi i have a question about that video. How to move third person view to first person. And how to chage that adjustment. Please help me.
Thank you
love it
could you make a tutorial on extending the 3rd person starter asset to support melee combat?
That would be an interesting video! I think I have some melee animations so I might look into that
I was going to ask the same thing:)
@@CodeMonkeyUnity While we're on topic, would it also be possible to include extending the 3rd person starter asset to implemented lock on targeting? I think with this asset we could do what most Unreal Engine tutorials are doing where they make it easy to make 3rd person hack and slash games using their 3rd person template only with Unity we can start to make those tutorials since they've made this new package that for the most part is like the one UE has
@@adrianalcomendras6754 That would be very interesting, I hadn't thought of that. It would require playing around with the mouse position and make a aimbot to lock onto the target, I'll look into it, thanks!
Yes we want the tutorial
Thanks very much i was having problems with scripting my on my own but now i can move without scripture 😀😀😀😀😀😁😀😁😀😁😁🤗🤗😇🤗😇🤗😇😇thanks
Hey code monkey I am new to unity so I don't know a lot. So can you make a few videos about creating games so I can understand? Thank you so much. I also subscribed.
I hope a new 2d course without using bolt available soon 🤞
hi sir, this is a great tutorial and help me a lot, but can i use this as in mobile game? when i connect it to my ios it doesnt have joystick to move the player, where can i find the settings?
Could you do a video on adding a attack function to the script?
Hi CodeMonkey after downloading the 3rd person asset pack when I am running it my character is moving but when I am rotating my camera the controls are not working properly like suppose I am looking at the character from front view and pressing W it should turn around and move right ?? but its moving in the same direction and in that camera position if I press A it is going right and pressing D its going left what to do
Would you be considering making a swimming tutorial using these controllers. :D
excellent indeed and the best I have seen for a beginner like me. From this video, am I correct to say I observed that its possible to use many different assets to create an environment you want? Because I notice you used first person controller, third person controller and the asset from Synty. I would like to be able to add to an existing environment. My second question is how for example would i create basic interactivity such as placing things on top, etc?
Sure you can use whatever assets and build whatever you want. If there's no connection between the assets at all you just add them to the same scene. Like this controller you can add it to any scene with any environment
Would like to see how to add to the standard controller, a new movement type like swimming, falling or climbing.
Oh and being able to switch between 3rd and first (while hiding the character model from the player but not in multiplayer) would be cool too
I had to watch some of it ten times? And, still had to guess what needed to be done.. Changing the skin was whizzed through way to fast to follow. However, I managed to do it eventually :)
Hi CodeMonkey, I've been your subscriber for quite a while and gotta admit that I really appreciate the content you put out. But can you please do some kind of tutorial + challenge series. I think tutorials are not very useful unless there are somr well structured problem to test what we learned. Content like that is very scarce. Would love it if you add something like that. Thanks!
Nice idea dude, i hope he will do that
I have though about making some challenges but making it all work is quite difficult. I had thought about doing something like that in the Steam app but sadly that project didn't do very well so I had to focus on other projects.
Merci beaucoup
Is there any way to fix the slope bounce when going down ramps?
Oh yes here we go again 😉
First of all I’m gratefull about all this tutorials I’m a beginner and all this content you make for your channel is so clear and it helps a lot in my path of learning.
In second place, I would like to see that tutorial about the third person shooter thanks for your vids.!!!
It's coming out later today! Stay tuned!
@@CodeMonkeyUnity I just bought your curse about the 40+ tools I’m about to watch it. I would love if you make a video about terrain tools in 3D and about making caves or something like making buildings and interact with them
@@eduardoblum1392 Yeah the terrain is definitely a tool I'd love to do a video on, I haven't used it much so I'll need to do some research
Hi i have a question about that video. How to move third person view to first person. And how to chage that adjustment. Please help me.
Hi I've been looking for ways to add a character model for first person like in the game Dead by Daylight where the killer has a first person fov. Is there a way to do that using the free unity starter asset?
I have the opposite problem you had with the scene; even though I'm using the built in render pipeline the scene is loaded in purple
What shader are the material using? Perhaps they have since updated the asset to make it URP by default, not sure.
Or maybe you think you're using BiRP but you're really using URP, check the Project Settings - Quality
How hard would it be to take the animations and rig from the 3rd and put it on the 1st person? That way if the game was multiplayer you won't be staring a a cyclinder
I've been using the Polite Soldier (from other tutorials) and tried to substitute the third-person character with the soldier. Ran into trouble with the "dropping the new avatar" into Animator Avatar field. The symptom is a character that scoots around without animation. Is the Soldier character too old? Or, perhaps there is a trick to getting it to work?
The avatar must be set to humanoid no both the mesh and the animations. And the avatar that you use in the Animator is the one for the mesh.
thanks for this azaming video, i have a question , cinemachine camera with photon and webgl so laggy , do you have any ideal for that ?
Cinemachine will only be "laggy" if the whole game is laggy, if that's the case use the Profiler to find out where your performance is being spent.
Can you make a video tutorial about new Unity editor and one simple AR, I test it and I got some errors to AR Background ...
i did every thing and im at the third person view but when i press the keys it doesnt move
Hi i really appreciate your tutorial, helped a lot. Now i use the first person controller and want to interact with a world space canvas. I would like to use the typical UI events like onPointerEnter and so on. I have absolutely no clue how to get the input to achieve that, do i have to set up new Input Actions? Do you know how to solve that?
Hi i have a question about that video. How to move third person view to first person. And how to chage that adjustment. Please help me.
Just in case some cant find the RENDERING post processing tick box, you must install post processing from Unity "All packages"
After Install then goto Rendering > Post Processing.
Depends if you want to use the Built-in Render Pipeline or URP/HDRP
When using BRP yes you need to install the Post Processing package, when working with URP/HDRP the Post Processing is automatically included.
I imported that package and in the playground (and even if I create a new player controller) the camera wont follow the player. Everything is setup right and it just does not work.
Does the virtual camera have the player root object as the follow target?
Is it possible to integrate with the 3d game kit? or are those systems made to work with their own controller?
I haven't used that one but I'm pretty sure you could replace whatever character that kit uses with this one
If I want to change obstacles into forest how can I do
You mean the environment? You just place whatever assets you want for the world, it's completely disconnected from the character controller.
i cant manage to turn the material to the right color (all pink) i dont have the button you click onto.
im not able to use it for android...
the buttons are not clickable...
whenever i click through mouse, the cursor disappears
and if i use unity remote 5, it doesnt work, nothing happens on touching the button...
Hi can you add any inviroment you want? Or just create you own and use the characters to walk in
Yes the characters will work on any environment
Honestly cant stand the way this asset "feels". Ive been going insane writing custom player FSMs over and over. I think the hard work definitely pays off. This is cool for prototyping but you'll definitely want to put in the work if you really want something fine tuned for your game
when i try to use both in the same project i got this error: Starter Assets package is missing dependencies. Please use Tools/Starter Assets/Reinstall Dependencies to fix it.
why? and how can i solve?
SOLVE: i have checked the active input handling where edit > proj. set. > player, and changed them to the "both".
10/10
you are god
I imported third person controller (from asset store), in my newly created project, It was doing well until I restarted unity. now it seems like mouse look on x-axis is inverted(to fix this I tried to check [inverted] in input manager, but nothing changed..) if anyone knows about this please help me
hey ! i was wondering if its possible to create an input which switch between the first person controllers and the third one
Sure, just position them in the exact same position and rotation, disable one and enable the other
Hi CodeMonkey, how do you make it so you can toggle between first person and third person, is that possible? Also, I'm making a multiplayer game, that's mainly in first person so I want the mesh of the character in first person to be that robot from the asset pack or my own mesh and have the same animation, how do I do that? That is so if player2 looks at player1 it will be an actual mesh and not just a capsule. Thanks in advance!
Actually I just decided to go first person but how do you change the robot mesh to your own
Hey! Code Monkey, I downloaded these first person and third person controllers, but they aren't showing up in my project templates page, Idk why but the only ones that are coming up are the ones that everyone starts out on with unity hub. I am on the version 2021.3 the latest release as of 8/17/21 Is there anything I can do to fix this bug?
They are not templates, they are assets so they show up in the Package manager under My Assets
great video! how would i make the camera follow behind instead of having to use the joystick
Hmm you could make some simple logic to constantly set the cameraFollowTransform.forward to the same as playerTransform.forward
As the player rotates, so will the camera
@@CodeMonkeyUnity thanks for the reply
Having an issue ... using the latest Unity when I import the asset like you do when I turn it becomes 'Blocky' and is not seamless ... any advise?
What asset? What is blocky?
Thank you for the info! 6:07
at first it's pink. I couldn't turn the urp on edit. but I go to rendering to the windows>rendering as a person mentioned in this comment section. I tried to convert them but it's still go all blue from all pink. I've tried it many times. so I just making a new project. but this time I've double click to open the playground, it's all pink but both in edit and windows have no "render" nor "rendering" to setting it up. what should I do at this point. I'm on Unity 2022.3.25f1
how can I use the third person with generic rig? humanoid breaks my facial animation
Not able to update player follow camera position as i dont want player folllow camera to move in all direction....i only want to follow player from the backside ,,,,but not able to update position in player follow camera...any help?
TANKSSSSSSSSSSSSSSSSSSSS
Was following the tutorial for dropping a controller into existing game for FPS.... then I noticed that the Inspector for MainCamera in 2021 is totally different than the Inspector shown in your sample. Specifically I can't find a check box for "Post Processing" in the MainCamera. Is this now default? Or, is there somewhere else I should be checking? Thanks
The camera inspector changes based on the render pipeline. I'm using the Universal RP, if you're using Built-in or HDRP then the camera will look different
How can ı make the mouse move faster?
So are you going to use these controllers in your next steam game if you make a 3D game which involves any kind of characters to control and things like that? Or you would rather make your own controller and then use it.
I'd start with these as a base and refactor the code to fit my style, that's pretty much what I did for the third person shooter controller ruclips.net/video/FbM4CkqtOuA/видео.html
@@CodeMonkeyUnity Thanks for taking the time to reply to my question. Pardon the stupid questions that I ask sometimes. I was hesitant to use them so just asked a professional like you to get better idea on them. Btw if you make the melee combat system from your earlier 2D video here ruclips.net/video/AXkaqW3E9OI/видео.html what things you will change? Does the use of a new input system make ur util class a need of refactoring? I guess also making use of unity 3D mechanism and state machines to enter and exit states are also somewhat challenging.
@@KalponicGames Yup I would definitely use the new input system which would indeed require some refactoring. But do remember that you can use both systems at once so that really helps in making the transition.
Hey I'm having the weirdest issue. I just imported the First Person Controller, didn't make any changes to the defaults. When I click on play, for some reason if I click into the game view to lock the cursor, the camera points up at the sky and I can't move it. When I press ESC, I can move the camera by moving the cursor around the editor, but my movement of the camera is limited to how far I can move the cursor in the window. Any idea how to fix this problem? I am running the Linux editor by the way.
That's weird, did you enable the new Input System in the Player settings? Does it happen only with the First Person and not the Third Person? Does it work if you add it to a new scene?
It sounds like an issue with the Input System is the most likely, maybe it's detecting some gamepad you have connected instead of the mouse.
can you do third person and first person in the same game? like pressing a button and switching pov how would i be able to do this? barely starting and have been searching everywhere for this but it’s hard since the new input update
Sure, just teleport the FPS player onto the TPS player then disable one and enable the other. It's all about enabling/disabling game objects, not really related to any input system
please make 3rd person shooter with this asset
Is there a way to disable mouse accel for this camera controller?
This doesn't have acceleration, the inputs are taken straight from the mouse delta
hey i want to ask a question. I wanto use first person and third person camera. How can i use both and swich them with key? And there is a problem. There is a character when use third person but i want to have a character when i use first person.
In theory it's as simple as disabling one camera game object and enabling the other one, then you probably also need to enable/disable the 3D model and replace it with some first person hands.
That's a relatively complex system to implement, there's no one-click solution
Hi, I can see the playground in the game window, but I can't see it in scene. From when I opened the playground, my scene looks pale blue (not the neon blue). Is there a way I can fix this?
My rendering is already in built-in to URP pipeline so I don't think that's the problem