- Видео 22
- Просмотров 73 216
GDev Simplified
Индия
Добавлен 24 апр 2022
This channel is for those who want to learn, become better and do something using game development.
I will try to teach all things i learn and know in my reach.
So what are you waiting for lets get started.
patreon-
patreon.com/GDevSimplified
I will try to teach all things i learn and know in my reach.
So what are you waiting for lets get started.
patreon-
patreon.com/GDevSimplified
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)
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
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!
Thank you!
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
What do i call the function in the event?
doesnt work
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
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.
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
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
can you give us the copy paste code???
I will include them from next videos ,if I make them
WOW!! !!
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!
more tutorials?
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 ♥️
You've been dropping some top notch tutorials bud, good job
Glad to hear you liked the video ,thanks for all the support ♥️
thanks bro THE GOAT
Glad to hear you liked the video , thanks for your support ♥️
That worked really well, thanks! ♥
Glad I was of help, Thanks for yourself support ♥️
Vector3.Angle is never negative
thank you very much, you made my fps player look awesome in the game, I really appreciate that❤
Glad i was of help to you, Thanks for the support
how do i make it so that the camera rotates upwards too with the recoil
Add the rotation in x axis
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?
Try implementing it in the same script and check if that works. Thanks for the support 🙂
@@gDevSimplified broo can you pls share the look script I have a deadline in a week plss
@@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); } }
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; }
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
works very nice! But I didnt quite understand what is the differnce between length and distance
Keep in mind that people who watch these tutorials have seen other tutorials and we all have seen Comp-3's tutorial. Good luck.
Excuse me, but this script isn't the same that Comp-3 Interactive ?
I don't know if it's exacttthe same but might be similar. Thanks for all the support
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.
no receiver error
Amazing recoil mechanic, Thank you
Glad you like it!
Can you make the "Shooter" script available for us? It would help a lot
I have lost the access to the file but I will make other scripts available from my future videos. Thanks for the support♥️
Is there a place I can just copy that code from?
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♥️
Can you leave a download link for the models?
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
@@gDevSimplified ok ty for telling and you deserve the support you got because your tutorials are amazing man keep it up
Can you leave a link to download the gun and arm models?
you are my idol
Thankyou, really appreciate your support ♥️
≠__÷
Thnx THANK YOU AGAIN
here's my attempt : ruclips.net/video/o33jakIksxg/видео.html
where is link for scripts
Thanks
keep doing what you are doing its great.
Thankyou, really appreciate your help ♥️
nice video
Thanks, really appreciate your support ♥️
Thanks for this awesome tutorial, I needed this for my AI based monster, Mainly because I’ am to lazy to animate, Thank you GDev!
Really glad to know that I was of help to you,and thanks for all the support ♥️
And one more question, How do you fix the legs resting in a criss-cross state?@@gDevSimplified
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))
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 ♥️
big thanks for tutorial!
Thanks to you, I was able to make a good effect on my game! Thank you so much!!
I am glad that i was of help to you, And thanks for all the support
Can u give us the gun mechanism script
I might have lost the project files but if I find them I will link them to you😊. And thanks for all the support❤️
Why do you keep removing my comment when I post the code?
I didn't remove any code,might be auto remove
Will this function the same as a head tilt?
Attach it to the fps canera object ,then it will act as the head tilt
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; } }
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
Might be your axis will is updated by another script,or you might have put wrong axis name
thanks we need the scripts
Ok will upload them,thanks for all the support ♥️
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?
Sure, thanks for the idea. Will look into it and thanks for all the support
can you make a video on how to make a weapon wall where you can grab weapons and they respawn there
Sure,Great idea. Will make the next tutorial on this. Thanks for all the support 😊
@@gDevSimplified OMG THANK YOU THANK YOU!!! you are one of the reasons my game is coming together
can you make it to where you can shoot regardless of pointing at a target or not
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 ♥️
@@gDevSimplified Thank you so much
amazing!! You helped me get a base for my rainbow six type game
Great! I am glad that i was of help to you😊. Thanks for all your support
Best youtuber man you deserve more for these outstanding tutorials
Thanks man really appreciate your support ♥️
You got any suggestions for tutorials ,would help a lot
@@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
@@ZeonplayzYt thanks great idea, will work on that too👍