GDev Simplified
GDev Simplified
  • Видео 22
  • Просмотров 73 216
How to rewind in unity | Tutorial
How to rewind players position in unity :
Hello there eceryone,
Today i am going to teach you how to rewind in unity.
You can rewind player without the time being affected.
I hope you like the video and learn a lot from it😊.
Thanks for all the support and see you all in next video.
Unity Game Engine:-
www.unity.com
Link to all the codes will be uploaded in patron(Coming soon)
Просмотров: 955

Видео

Unleashing Creative Power: Top FREE Blender Add-ons 2023 | Boost Your Skills Today!
Просмотров 76Год назад
Discover the top FREE Blender add-ons of 2023 that will take your 3D projects to new heights! 🚀 My comprehensive video showcases the most powerful and cutting-edge add-ons to supercharge your Blender workflow without spending a dime! Whether you're a seasoned Blender artist or a beginner looking to enhance your skills, these hand-picked add-ons are a game-changer! Save time, boost productivity,...
Unity camera shake: How to create realistic camera shake in unity using scripting!
Просмотров 2,8 тыс.Год назад
Welcome to our exciting tutorial on creating dynamic camera shake in Unity using scripting! In this video, we'll show you step-by-step how to add a realistic and attention-grabbing camera shake effect to your game or animation. Camera shake can add a whole new level of immersion and excitement to your projects, whether you're developing a thrilling action game, a suspenseful cinematic sequence,...
Unity Head Bobbing: Create Immersive First-Person Experiences
Просмотров 3 тыс.Год назад
In this video tutorial you'll learn how to add a subtle but immersive effect to your games that simulates the movement of the player's head. Whether you're developing a first-person shooter, adventure game, or any other type of game that involves a player character, this tutorial will teach you how to implement a head bobbing effect that adds an extra layer of realism to your game. In this vide...
Unity enemy AI Field of view tutorial||Beginner Friendly
Просмотров 3,1 тыс.2 года назад
Unity enemy AI Field of view implementation||Beginner Friendly. Hello everyone today i am going to show you how you can implement field of view for enemy ai in unity. This tutorial is beginner friendly and will help you a lot to make more interactive and immersive gameplays. If you have any doubts or suggestion's please leave it in the comment section. Thanks for watching and see you all next t...
Unity Walking sound tutorial
Просмотров 8 тыс.2 года назад
Unity Walking sound tutorial In this tutorial i will teach you how to make step sounds in unity and the sounds will be randomly chosen. I hope you like this video and drop a like. a sub is extremely appreciated too.
Unity breathing animation tutorial (Procedural)
Просмотров 2,3 тыс.2 года назад
Unity breathing animation tutorial (Procedural) Hello again everyone, Today i am going to teach how to do breathing animation using scripts in unity procedurally. I hope you like this video and drop a like. a sub is extremely appreciated too. music by:- Bensound.com/free-music-for-videos
Unity animation system Tutorial!
Просмотров 8762 года назад
Unity animation system - All you need to know! Hello everyone, Today i will teaching you about the animation system of unity like- Mixamo animations importing, fixing Mixamo texture problem in unity, Configuring animations in unity, Animator system, and using scripts to control animations of unity. Hope this video will be really helpful to you as its is packed with knowledge and information. If...
Unity Procedural walk (Procedural walking) Tutorial!
Просмотров 7 тыс.2 года назад
Unity Procedural walk (Procedural walking) Tutorial! In this tutorial i will teach you how to make unity walking system just with code and it looks really beautiful. I hope you like this video and drop a like. a sub is extremely appreciated too. if you have any any suggestions and ideas feel free to tell me in the description. Thanks for 100 subs! Thanks! Audio from BenSounds!
Making a character controller using animations ONLY! || Unity tutorial
Просмотров 2,5 тыс.2 года назад
Today I am going to show you how to make a character controller using animations ONLY! I hope after watching this video your thinking about working with animations in unity will be clear. If you have any doubt feel free to ask in the description! And any suggestion will be extremely helpful. 3d animation library:- www.mixamo.com Game Engine used :- www.unity.com Thanks for watching, see you all...
Cluster Rocket Launcher tutorial || Unity tutorial
Просмотров 7962 года назад
Cluster Rocket Launcher tutorial Welcome back everyone ! Today i am going to show you how to create a cluster rocket launcher in unity. I hope this video will be really helpful to you . If you have any comments feel free to ask in the comments. Scripts:- drive.google.com/drive/folders/1laCmbmxxV_WCcUK9pKqC2x32yI34UU-E?usp=sharing LINKS:- Game Engine used - UNITY www.unity.com Gunn ASSET from:- ...
Unity Mobile Touch Controls ! All you need to know
Просмотров 1,1 тыс.2 года назад
Hello again everyone today i am going to show you how you can implement unity touch controls for mobile devices. I hope this video will be really helpful for you and beneficial. If you have any doubt you can ask me in the comments below. i will try to improve my audio quality from my next videos! See you in next video bye! Do give me some recommendations for another video's.
Most underrated Unity OPTIMIZTION tips that no one talk about
Просмотров 8472 года назад
In this video i will talk about Most underrated Unity OPTIMIZTION tips that no one talk about. I hope this video will be very helpful to you and will enable you to optimize your game further. If there are any topic you want me to make video on ,you can tell me in comments. thanks for all the support. See you all in next video BYE! Music by www.bensound.com Game Engine used: unity.com/
How to rig for animation in 4 minutes! || Using Blender
Просмотров 6932 года назад
hello again! today i am going to show you how to rig for animation using blender. this will help you rig your own fps arms for animating for your own video games. if you have any issues you are free to ask in the comment section and thanks for all your support! have a great day BYE!!!
Crouching in games || Unity(Tutorial)
Просмотров 3742 года назад
Crouching in games || Unity(Tutorial)
How to shoot real bullets from gun in Unity
Просмотров 4,9 тыс.2 года назад
How to shoot real bullets from gun in Unity
Unity fps game setup
Просмотров 6802 года назад
Unity fps game setup
Leaning in fps games using Unity
Просмотров 3,6 тыс.2 года назад
Leaning in fps games using Unity
Unity shooter tutorial
Просмотров 1,5 тыс.2 года назад
Unity shooter tutorial
Weapon sway effect on gun tutorial || Unity
Просмотров 4 тыс.2 года назад
Weapon sway effect on gun tutorial || Unity
Unity Gun Recoil (Procedural recoil) Tutorial!
Просмотров 24 тыс.2 года назад
Unity Gun Recoil (Procedural recoil) Tutorial!

Комментарии

  • @cristiandraghici6095
    @cristiandraghici6095 3 месяца назад

    Thank you!

  • @tarrellcharles698
    @tarrellcharles698 3 месяца назад

    Didn't work, but I found out how to make it work, so you actually need to name the function thats called playaudio to be named after the event name of your animation, then make sure that where ever the animator is located on your player, add the audio source, add the script for the WalkingSounds there ,and then add your audio for foot steps into the script, and it should work

  • @jones7831
    @jones7831 4 месяца назад

    What do i call the function in the event?

  • @eloo0o000
    @eloo0o000 4 месяца назад

    doesnt work

    • @gDevSimplified
      @gDevSimplified 4 месяца назад

      There might be something wrong you might have wrote in your code. Also check the configuration of you players also. Thanks for all the support

    • @jadaeboyd9228
      @jadaeboyd9228 3 месяца назад

      You may have had the same problem I did. The public void function needs to be the same name as the events name in unity.

  • @marmalademc3913
    @marmalademc3913 5 месяцев назад

    For some reason the recoil doesnt work. I set up the script like you did. and copied the gun script you used too but the recoil doesnt work. it might be that i have an equip script too and that might cause problems

    • @gDevSimplified
      @gDevSimplified 4 месяца назад

      If there are multiple script trying to change the same things there can be conflicts which could cause the issue. Thanks for all the support

  • @o._.369
    @o._.369 5 месяцев назад

    can you give us the copy paste code???

    • @gDevSimplified
      @gDevSimplified 4 месяца назад

      I will include them from next videos ,if I make them

  • @정동우-n2x
    @정동우-n2x 6 месяцев назад

    WOW!! !!

  • @tihersarc9999
    @tihersarc9999 6 месяцев назад

    Hello I ran into an issue which I think might be because of Cinemachine, the recoil seems to be fine (up) when looking one way, but going down looking the 180º the other way. Seems like it rotates in global instead of local even tough I use transform.localrotation on the update. Any idea what could be happening? Thank you!

  • @sukunagaming77
    @sukunagaming77 7 месяцев назад

    more tutorials?

    • @gDevSimplified
      @gDevSimplified 6 месяцев назад

      I will be getting back to making tutorials soon as I have something important going in my life currently so i had to take a pause. stay tuned And thanks for all the support ♥️

  • @thodorisevangelakos
    @thodorisevangelakos 7 месяцев назад

    You've been dropping some top notch tutorials bud, good job

    • @gDevSimplified
      @gDevSimplified 7 месяцев назад

      Glad to hear you liked the video ,thanks for all the support ♥️

  • @PaceManPogU
    @PaceManPogU 7 месяцев назад

    thanks bro THE GOAT

    • @gDevSimplified
      @gDevSimplified 7 месяцев назад

      Glad to hear you liked the video , thanks for your support ♥️

  • @cakeservant
    @cakeservant 8 месяцев назад

    That worked really well, thanks! ♥

    • @gDevSimplified
      @gDevSimplified 8 месяцев назад

      Glad I was of help, Thanks for yourself support ♥️

  • @nastydiaper411
    @nastydiaper411 9 месяцев назад

    Vector3.Angle is never negative

  • @daveyyyyyyy
    @daveyyyyyyy 9 месяцев назад

    thank you very much, you made my fps player look awesome in the game, I really appreciate that❤

    • @gDevSimplified
      @gDevSimplified 3 месяца назад

      Glad i was of help to you, Thanks for the support

  • @StratrophicAssets
    @StratrophicAssets 10 месяцев назад

    how do i make it so that the camera rotates upwards too with the recoil

  • @jimjomgilbus
    @jimjomgilbus 10 месяцев назад

    Where can I find your player look script? I am having trouble with the cam.localRotation = Quaternion.Euler(currentRotation); line because it conflicts with my player look script, they both use the local rotation of the player camera, any ideas?

    • @gDevSimplified
      @gDevSimplified 9 месяцев назад

      Try implementing it in the same script and check if that works. Thanks for the support 🙂

    • @eren_guneri
      @eren_guneri 8 месяцев назад

      @@gDevSimplified broo can you pls share the look script I have a deadline in a week plss

    • @eren_guneri
      @eren_guneri 8 месяцев назад

      @@gDevSimplified Oh okay nevermind you already have: using System.Collections; using System.Collections.Generic; using UnityEngine; public class MouseLook : MonoBehaviour { [Header("Controlls")] public float sensitivity = 100f,sensitivityMultiplier; public Transform parentBody; public float velocity,maxUpwardRotation; float _mouseX,_mouseY,_xRotation,_yRotation; void Start() { Cursor.lockState = CursorLockMode.Locked; } void Update() { _mouseX = Input.GetAxisRaw("Mouse X"); _mouseY = Input.GetAxisRaw("Mouse Y"); _xRotation += _mouseX * sensitivity * Time.deltaTime; _yRotation -= _mouseY * sensitivity * Time.deltaTime; _yRotation = Mathf.Clamp(_yRotation, -maxUpwardRotation, maxUpwardRotation); Vector3 toX = new Vector3(0, _xRotation, 0); Vector3 toY = new Vector3(_yRotation, 0, 0); parentBody.transform.Rotate(Vector3.up*_mouseX * sensitivity * Time.deltaTime); transform.localRotation = Quaternion.Euler(_yRotation, 0, 0); } }

  • @Mot0Mot0
    @Mot0Mot0 10 месяцев назад

    For people who just want to copy and paste Vector3 currentRotation, targetRotation, targetPosition, currentPosition, initialGunPosition; public Transform playerCam; [SerializeField] float recoilX; [SerializeField] float recoilY; [SerializeField] float recoilZ; [SerializeField] float kickBackZ; [SerializeField] private float snappiness, returnAmount; void Start() { initialGunPosition = transform.localPosition; } void Update() { targetRotation = Vector3.Lerp(targetRotation, Vector3.zero, Time.deltaTime * returnAmount); currentRotation = Vector3.Slerp(currentRotation, targetRotation, Time.fixedDeltaTime * snappiness); transform.localRotation = Quaternion.Euler(currentRotation); Back(); } public void Recoil() { targetPosition -= new Vector3(0, 0, kickBackZ); targetRotation += new Vector3(recoilX, Random.Range(-recoilY, recoilY), Random.Range(-recoilZ, recoilZ)); } private void Back() { targetPosition = Vector3.Lerp(targetPosition, initialGunPosition, Time.deltaTime * returnAmount); currentPosition = Vector3.Lerp(currentPosition, targetPosition, Time.fixedDeltaTime * snappiness); transform.localPosition = currentPosition; }

  • @saniyakhansaniyakhan9076
    @saniyakhansaniyakhan9076 11 месяцев назад

    Bro when I use Joystick and rotate the Touch Camera with my finger at the same the gets stuck several times REMEMBER - I AM NOT USING YOUR MOVEMENT SCRIPT, I HAVE MY DIFFERENT SCRIPT FOR MOVEMENT. THANX

  • @timothypsina
    @timothypsina 11 месяцев назад

    works very nice! But I didnt quite understand what is the differnce between length and distance

  • @anthonydpatterson
    @anthonydpatterson 11 месяцев назад

    Keep in mind that people who watch these tutorials have seen other tutorials and we all have seen Comp-3's tutorial. Good luck.

  • @vik3111
    @vik3111 Год назад

    Excuse me, but this script isn't the same that Comp-3 Interactive ?

    • @gDevSimplified
      @gDevSimplified 11 месяцев назад

      I don't know if it's exacttthe same but might be similar. Thanks for all the support

    • @anthonydpatterson
      @anthonydpatterson 11 месяцев назад

      HAHAHAHA yeah it is! Dude said I don't know. lol. Like its fine but give credit dude. People do it all the time or at least make the video to people from your country and get the info to a different audience. Comp-3 does a great enough job for English speakers.

  • @snudge763
    @snudge763 Год назад

    no receiver error

  • @pajong7898
    @pajong7898 Год назад

    Amazing recoil mechanic, Thank you

  • @Raul-ef6ct
    @Raul-ef6ct Год назад

    Can you make the "Shooter" script available for us? It would help a lot

    • @gDevSimplified
      @gDevSimplified Год назад

      I have lost the access to the file but I will make other scripts available from my future videos. Thanks for the support♥️

  • @daffix1337
    @daffix1337 Год назад

    Is there a place I can just copy that code from?

    • @gDevSimplified
      @gDevSimplified Год назад

      I will make further scripts available from my future videos as i have lost access to the files. But thanks for letting me know and thanks for the support♥️

  • @Actimel_Addict74
    @Actimel_Addict74 Год назад

    Can you leave a download link for the models?

    • @gDevSimplified
      @gDevSimplified Год назад

      The model was taken from sletchfab,and I edited and rigged them in blender. I might have lost access to the file,but I will include them from the next videos🙂. Thanks for all the support

    • @Actimel_Addict74
      @Actimel_Addict74 Год назад

      @@gDevSimplified ok ty for telling and you deserve the support you got because your tutorials are amazing man keep it up

  • @Actimel_Addict74
    @Actimel_Addict74 Год назад

    Can you leave a link to download the gun and arm models?

  • @KillerKaneoss
    @KillerKaneoss Год назад

    you are my idol

    • @gDevSimplified
      @gDevSimplified Год назад

      Thankyou, really appreciate your support ♥️

  • @B12-h7x
    @B12-h7x Год назад

    ≠__÷

  • @saniyakhansaniyakhan9076
    @saniyakhansaniyakhan9076 Год назад

    Thnx THANK YOU AGAIN

  • @karimdaman8587
    @karimdaman8587 Год назад

    here's my attempt : ruclips.net/video/o33jakIksxg/видео.html

  • @cartoonworld-77
    @cartoonworld-77 Год назад

    where is link for scripts

  • @zeyadprogames8748
    @zeyadprogames8748 Год назад

    Thanks

  • @arshiadehghan583
    @arshiadehghan583 Год назад

    keep doing what you are doing its great.

    • @gDevSimplified
      @gDevSimplified Год назад

      Thankyou, really appreciate your help ♥️

  • @arshiadehghan583
    @arshiadehghan583 Год назад

    nice video

    • @gDevSimplified
      @gDevSimplified Год назад

      Thanks, really appreciate your support ♥️

  • @kiyluh
    @kiyluh Год назад

    Thanks for this awesome tutorial, I needed this for my AI based monster, Mainly because I’ am to lazy to animate, Thank you GDev!

    • @gDevSimplified
      @gDevSimplified Год назад

      Really glad to know that I was of help to you,and thanks for all the support ♥️

    • @kiyluh
      @kiyluh Год назад

      And one more question, How do you fix the legs resting in a criss-cross state?@@gDevSimplified

  • @leerhansson2823
    @leerhansson2823 Год назад

    Can you advise me how to correctly call raycast so that the position of the beam changes with the recoil? Here is how I draw the ray: if (Physics.Raycast(camera.transform.position, camera.transform.forward, out hit, 10000, ~ignoreMasks))

    • @gDevSimplified
      @gDevSimplified Год назад

      I have added a camera shake to the camera gameobject.so if i raycast from the camera it automatically aligns with the view. You might be doing a recoil animation but not applying shake to the camera,so your gun might move but your camera might remain still. Hope this helps nd thanks for all the support ♥️

  • @71711x
    @71711x Год назад

    big thanks for tutorial!

  • @yoonkim3198
    @yoonkim3198 Год назад

    Thanks to you, I was able to make a good effect on my game! Thank you so much!!

    • @gDevSimplified
      @gDevSimplified Год назад

      I am glad that i was of help to you, And thanks for all the support

  • @palakpriya673
    @palakpriya673 Год назад

    Can u give us the gun mechanism script

    • @gDevSimplified
      @gDevSimplified Год назад

      I might have lost the project files but if I find them I will link them to you😊. And thanks for all the support❤️

  • @theRealJonSherman
    @theRealJonSherman Год назад

    Why do you keep removing my comment when I post the code?

    • @gDevSimplified
      @gDevSimplified Год назад

      I didn't remove any code,might be auto remove

  • @jfierro1394
    @jfierro1394 Год назад

    Will this function the same as a head tilt?

    • @gDevSimplified
      @gDevSimplified Год назад

      Attach it to the fps canera object ,then it will act as the head tilt

  • @speednut1142
    @speednut1142 Год назад

    Code from video (if somebody needs) (it doesnt work, there're no errors) using UnityEngine; public class FootSystem : MonoBehaviour { public LayerMask ground; public FootSystem otherFoot; public float stepDist, stepHeight, stepLength, footSpacing, speed; public Transform body; public Vector3 footOffset; Vector3 oldPos, newPos, currPos; Vector3 oldNormal, currNormal, newNormal; float lerp; private void Start() { footSpacing = transform.localPosition.x; oldPos = newPos = currPos = transform.position; oldNormal = newNormal = currNormal = transform.up; lerp = 1; } private void Update() { transform.position = currPos; transform.up = currNormal; Ray ray = new Ray(body.position + (body.right * footSpacing), Vector3.down); if (Physics.Raycast(ray, out RaycastHit hit, 10, ground)) { if (Vector3.Distance(newPos, hit.point) > stepDist && !otherFoot.isMoving() && lerp >= 1) { lerp = 0; int direction = body.InverseTransformPoint(hit.point).z > body.InverseTransformPoint(newPos).z ? 1 : -1; newPos = hit.point + body.forward * stepLength * direction + footOffset; newNormal = hit.normal; } } if (lerp < 1) { Vector3 tempPos = Vector3.Lerp(oldPos, newPos, lerp); tempPos.y += Mathf.Sin(lerp * Mathf.PI) * stepHeight; currPos = tempPos; currNormal = Vector3.Lerp(oldNormal, newNormal, lerp); lerp += Time.deltaTime * speed; } else { oldPos = newPos; oldNormal = newNormal; } } public bool isMoving() { return lerp < 1; } }

  • @divyapatel6629
    @divyapatel6629 Год назад

    hey bro i copied ur screen touch script for mouselook i can look horizontally properly but i cant look vertically up or down any fixesss?? rechecked code twice and also added proper sensitivity and rotation angles

    • @gDevSimplified
      @gDevSimplified Год назад

      Might be your axis will is updated by another script,or you might have put wrong axis name

  • @yassinebouramdane12
    @yassinebouramdane12 Год назад

    thanks we need the scripts

    • @gDevSimplified
      @gDevSimplified Год назад

      Ok will upload them,thanks for all the support ♥️

  • @AshleyMachine
    @AshleyMachine Год назад

    Great tutorial! Maybe you could make a tutorial on how to attach a weapon to arms seperatly so that yo could improve your weapon system?

    • @gDevSimplified
      @gDevSimplified Год назад

      Sure, thanks for the idea. Will look into it and thanks for all the support

  • @official_yung_dollasign
    @official_yung_dollasign Год назад

    can you make a video on how to make a weapon wall where you can grab weapons and they respawn there

    • @gDevSimplified
      @gDevSimplified Год назад

      Sure,Great idea. Will make the next tutorial on this. Thanks for all the support 😊

    • @official_yung_dollasign
      @official_yung_dollasign Год назад

      @@gDevSimplified OMG THANK YOU THANK YOU!!! you are one of the reasons my game is coming together

  • @official_yung_dollasign
    @official_yung_dollasign Год назад

    can you make it to where you can shoot regardless of pointing at a target or not

    • @gDevSimplified
      @gDevSimplified Год назад

      Yes you can set the length to some distance and call the shoot function before the test,hope this helps thanks for all the support ♥️

    • @official_yung_dollasign
      @official_yung_dollasign Год назад

      @@gDevSimplified Thank you so much

  • @official_yung_dollasign
    @official_yung_dollasign Год назад

    amazing!! You helped me get a base for my rainbow six type game

    • @gDevSimplified
      @gDevSimplified Год назад

      Great! I am glad that i was of help to you😊. Thanks for all your support

  • @ZeonplayzYt
    @ZeonplayzYt Год назад

    Best youtuber man you deserve more for these outstanding tutorials

    • @gDevSimplified
      @gDevSimplified Год назад

      Thanks man really appreciate your support ♥️

    • @gDevSimplified
      @gDevSimplified Год назад

      You got any suggestions for tutorials ,would help a lot

    • @ZeonplayzYt
      @ZeonplayzYt Год назад

      @@gDevSimplified realistic camera like the game unrecord or call of duty morden warfare 2 . The camera shakes(rotationally) when we reload/equip guns , if you look closely in the edges of the screen you can see just a tiny bit of shake timed with reloads that makes the game immersive

    • @gDevSimplified
      @gDevSimplified Год назад

      @@ZeonplayzYt thanks great idea, will work on that too👍