Тёмный
All Things Game Dev
All Things Game Dev
All Things Game Dev
Подписаться
The channel is completely dedicated to Game Development and everything surrounding it!
Комментарии
@kokorosyume
@kokorosyume 2 дня назад
This was sooo helpful, you explained things so clearly. Thanks!
@lasercobra4750
@lasercobra4750 2 дня назад
This is the perfect level of complicated 😊. Awsome tutorial.
@berkersenol3901
@berkersenol3901 3 дня назад
It was the one of the best tutorial that i have watched in a while, thank you so much :)
@l_st9634
@l_st9634 5 дней назад
Even pros forget the semicolon.
@chrispaterson3003
@chrispaterson3003 13 дней назад
Thank you after 3 years in uni my head is full of stuff and i have spent all day trying to get somthing to animate and you solved for me thank you again.
@Neozziee
@Neozziee 17 дней назад
This is the best one I found by far.
@mattheguy4057
@mattheguy4057 20 дней назад
tank hyou i lavee you 👍👍👍👍👍👍
@JellyJunk-me1vh
@JellyJunk-me1vh 23 дня назад
Strange bout my Unity still non seeng mouse or any keys any fucking thing
@CUB1NGC4T
@CUB1NGC4T 24 дня назад
I can't edit the Script, didn't work, thumb down!
@hi_iss3597
@hi_iss3597 24 дня назад
thankyou
@DGenome
@DGenome 25 дней назад
Thank you, nice and clear tutorial
@RaikageV
@RaikageV 25 дней назад
Thank you, this was perfect!
@TamirRoz
@TamirRoz 27 дней назад
I can't do it
@Superfect8458
@Superfect8458 29 дней назад
LIAR the script thing doesn't show up
@onstartofficial
@onstartofficial 29 дней назад
This isn't working for me
@eaglemax2329
@eaglemax2329 29 дней назад
the player moved but the camera didnt go with it
@eaglemax2329
@eaglemax2329 29 дней назад
how did this work for everyone it didnt work for me and i just copied from pastebin
@CatPlusIT
@CatPlusIT Месяц назад
Wow! Thanks!
@prodbyplayboii
@prodbyplayboii Месяц назад
im going faster diagonally
@Theuser369
@Theuser369 Месяц назад
Best tutorial on RU-vid
@nicoarmenda
@nicoarmenda Месяц назад
Me : looking for a good vid to see how to make a game This vid: IIMMMMMM HERRERERERREREEEEEEE
@NHE-shorts
@NHE-shorts Месяц назад
My cursor won’t hide any tips
@GodArrived
@GodArrived Месяц назад
LOVEU BRO
@Nate.mp4
@Nate.mp4 Месяц назад
So this is basically just a "copy my code" tutorial with nothing explained. I would not consider this a tutorial, but that's just me ig.
@RobynYTgames
@RobynYTgames Месяц назад
Is it possible to add view bobbing to your player?
@XBaconPlayzzX
@XBaconPlayzzX Месяц назад
Doesnt work, i cant wut in the fps controller without it not having the stuff you have, so dumb.
@rishav_ka_style
@rishav_ka_style Месяц назад
Thanks 😊👍🏻 but mouse lock not working 😭😞
@Crystallizedddd
@Crystallizedddd Месяц назад
code? same i need it.. I GOT IT LES GO... using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireComponent(typeof(CharacterController))] public class FPSController : MonoBehaviour { public Camera playerCamera; public float walkSpeed = 6f; public float runSpeed = 12f; public float jumpPower = 7f; public float gravity = 10f; public float lookSpeed = 2f; public float lookXLimit = 45f; Vector3 moveDirection = Vector3.zero; float rotationX = 0; public bool canMove = true; CharacterController characterController; void Start() { characterController = GetComponent<CharacterController>(); Cursor.lockState = CursorLockMode.Locked; Cursor.visible = false; } void Update() { #region Handles Movment Vector3 forward = transform.TransformDirection(Vector3.forward); Vector3 right = transform.TransformDirection(Vector3.right); // Press Left Shift to run bool isRunning = Input.GetKey(KeyCode.LeftShift); float curSpeedX = canMove ? (isRunning ? runSpeed : walkSpeed) * Input.GetAxis("Vertical") : 0; float curSpeedY = canMove ? (isRunning ? runSpeed : walkSpeed) * Input.GetAxis("Horizontal") : 0; float movementDirectionY = moveDirection.y; moveDirection = (forward * curSpeedX) + (right * curSpeedY); #endregion #region Handles Jumping if (Input.GetButton("Jump") && canMove && characterController.isGrounded) { moveDirection.y = jumpPower; } else { moveDirection.y = movementDirectionY; } if (!characterController.isGrounded) { moveDirection.y -= gravity * Time.deltaTime; } #endregion #region Handles Rotation characterController.Move(moveDirection * Time.deltaTime); if (canMove) { rotationX += -Input.GetAxis("Mouse Y") * lookSpeed; rotationX = Mathf.Clamp(rotationX, -lookXLimit, lookXLimit); playerCamera.transform.localRotation = Quaternion.Euler(rotationX, 0, 0); transform.rotation *= Quaternion.Euler(0, Input.GetAxis("Mouse X") * lookSpeed, 0); } #endregion } } Advertisement
@SkyfireReacts
@SkyfireReacts Месяц назад
Can you also tell us how to make a sensitivity controller for ingame
@jasonjenkinson2049
@jasonjenkinson2049 Месяц назад
This code is GOD TIER
@xXNo_OneXxx
@xXNo_OneXxx Месяц назад
THE most helpful tutorial ive ever seen! Thank you so so SO much!
@xXNo_OneXxx
@xXNo_OneXxx Месяц назад
for some reason, when it starts, the camera isnt locked on the player! please tell me how to fix it.
@Scaper_PT
@Scaper_PT Месяц назад
Thanks, really simple, not long video, no errors
@tacticalmythic7945
@tacticalmythic7945 Месяц назад
imagine stealing someone else's code from a video you saw and did not credit them T_T
@patriciorojas6503
@patriciorojas6503 Месяц назад
Gracias amigo, desde argentina sos un genio
@Tomas-kr5mh
@Tomas-kr5mh Месяц назад
How about slow it down a bit, you are too fast
@SpinXCreations
@SpinXCreations 2 месяца назад
Thank you sooooooooo much you deserve 1mil subs here is a subscriber for you☺
@ruvty3742
@ruvty3742 2 месяца назад
Thanks man,easy and cool!
@Juhbeef
@Juhbeef 2 месяца назад
Bro thank you so much! This is way easier than watching an hour long tutorial taught by someone who can barely speak english.
@Juhbeef
@Juhbeef Месяц назад
never mind the character controller at 0:51 didn't appear
@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
@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!!
@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
@paulbronstein7655
@paulbronstein7655 2 месяца назад
Is there a way to export this FBX Humanoid animation now out of Unity and imported into Unreal?
@SaiMorphX
@SaiMorphX 2 месяца назад
They don't do the free textures anymore, no more 10 free downloads a day this texture is premium. I deleted my account right away.
@user-hn6we7de4w
@user-hn6we7de4w 2 месяца назад
why so fast im new
@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 : (
@Tutrioe
@Tutrioe 2 месяца назад
Good tutorial, but I can’t seem to get my texture on the crate
@boki2693
@boki2693 2 месяца назад
Thanks my guy
@xecto1206
@xecto1206 2 месяца назад
This tutorial only has one problem and it's when you press both w and d you go a lot faster because game just thinks 1 to the z axis 1 to the x axis so you go faster diagonally. I guess normalizing would fix.
@Drgon420
@Drgon420 2 месяца назад
thanks, making my game will be 10x easier