First steps to create a third-person game in Unity 3D with JU TPS 3 | JU TPS Tutorial 01

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
first step is importing gtps go to the package manager and press import a window will appear warning about the project settings remember to press import the project settings after importing the package this thank you window will appear it has some useful options like open the online documentation sending mail to support join Discord community and install add-ins you can play the demo scenes and see how each thing works but let's start from a completely empty scene this character will be the player I downloaded it for free from the mixamo before we start using the gtps let's change the character's read to humanoid so that all animations are retargeted to that character drag and drop the character in the scene [Music] select the character and click on this option so the setup will be done with just one click go to the camera prefabs folder and place the third person camera prefab in the scene with these few steps our player is already working and he can walk run jump roll and Crouch you can also adjust the camera controller parameters to change the position if you don't like it I recommend looking at the character controller options it might improve your project most parameters are self-descriptive but I'll explain the main ones The Locomotion mode option will Define the way the controller work you can leave the movement free always facing forward and a mix of the two options which is the classic Mode the root motion option will set the physical velocity based on the animation this means that the character speed will be faithful to the root motion of the current animation if you turn root motion off the movement will be smooth and not as faithful to the animation you choose which type best fits your project the curved movement option make the character walk in curves rotating in the desired direction if you turn this option off the character will move directly in desired Direction without movement curves the set rigid body velocity options control the velocity of the rigid body this means the controller will have the physics limited functions like AV force will not work while the character is on the ground the parameter and air control Force is the force that the character will move while not on the ground to explore other options let's click on this option and activate gizmos in this tab you can adjust the size of the ground check [Music] in this tab you can adjust the sensor of the walls if this red line detects a wall the character will stop moving against the wall the auto step up system affects character position to Club stairs it prevents the friction break the capsule collider while climbing I recommend setting the up step speed to maximum the forward offset must be greater than capsule collider radius [Music] if you activate the punches in this option you will see that the character plays in the punch animations but will not deal damage to the enemy for that we will create hitboxes select the character and click on setup character hitboxes you can adjust the size and position of each hitbox to best suit your purpose I'm going to put a zombie prefab to test if it takes damage thank you but if we add a UI prefab we will see that the player is not taking any damage that's because he doesn't have a Jew health component after adding it you will see that the bar turned green [Music] now let's add a weapon to the character find the character's right hand bone and place the weapon prefab inside it adjust the weapon rotation and position like this each item you add you must go to the inventory and click on setup items it is now possible to equip the weapon from the inventory but it's also possible to switch items quickly using the keyboard or Mouse by adding an item switch manager to your player if the weapon rotation is still weird you can pause and adjust the rotation copy the transform exit play mode and paste the changes note that the information on the screen is not correct and in the console a warning message about the input manager this means that you need to do a quick scene setup you can delete this default camera controller and now it's working perfectly [Music] thank you
Info
Channel: JU Assets - JulhiecioGameDev
Views: 11,852
Rating: undefined out of 5
Keywords: jutps, JU TPS, Julhiecio, julhiecio gamedev, ju assets, JU TPS 3, unity 3d, asset store, third person shooter system, how to use ju tps, ju tps tutorial, unity, unreal, gamedev, game development, how to create a game, third person game
Id: d4DlEh1UO8E
Channel Id: undefined
Length: 5min 2sec (302 seconds)
Published: Thu Jul 06 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.