tareqgamedev
tareqgamedev
  • 10
  • 4 450
Game Math Series: Dot Product | Learn Game Math in Unity3D | Unity Tutorial
In the first episode of the Game Math Series in Unity, we will learn about the dot product, which is one of the most important math topics for all game developers. We will explore both definitions of the dot product: the algebraic definition and the geometric definition. Additionally, we will cover vector normalization, learn how to interpret the dot product result and explore various examples. We will discuss the theory of AI line of sight and see an implementation in Unity3D, followed by another practical example in Unity: the backstab mechanic.
Throughout this series, we'll delve into various math topics, starting with the dot product, which will serve as a foundation for other essential concepts. Upcoming topics include vector projection, vector reflection, and the distinctions between lines, line segments, and rays, both in mathematics and in game development with Unity.
❤️ Subscribe to My Channel: th-cam.com/channels/-_Ca9zwwTwzYzgNXs4qzQQ.html
● AI Line of Sight script: github.com/TareqMalkawi/Unity-Tutorials/tree/master/Game%20Math%20Series%20-%20Dot%20Product/AI%20Line%20of%20Sight
Follow me on Instagram: tareqmalkawi11
---------------------------------------------------------------------------------------------
Time Stamps:
0:00 Intro
0:27 Dot Product: Algebraic Definition
2:42 Normalization
5:10 Dot Product: Geometric Definition
6:59 Dot Product: Result Interpretation
11:44 AI Line of Sight: Theory
14:20 AI Line of Sight: Practical
17:59 Backstab Mechanic
#unity3d #maths #gamedev
มุมมอง: 337

วีดีโอ

Advanced Locomotion Series in UE5 and C++ | Project Setup & Basic Movement
มุมมอง 221วันที่ผ่านมา
In the initial episode of the Advanced Locomotion Series in UE5 and C , we begin by setting up the project, implementing character movement functionality, and acquiring a character mesh from the Epic marketplace. Throughout this series, we'll explore various topics, beginning with fundamental concepts and progressing to advanced techniques like turn-in-place, leaning, aiming, and beyond. You'll...
Beam Walking Mechanic in Unity3D | Unity Tutorial
มุมมอง 1.6K21 วันที่ผ่านมา
Learn how to implement the beam walking mechanic in Unity3D using two different techniques. We will discuss various methods, fix multiple issues, and finally, we will create a different camera behavior that is commonly used in games when the player walks on the beam. ❤️ Subscribe to My Channel: th-cam.com/channels/-_Ca9zwwTwzYzgNXs4qzQQ.html ► Assets used in the video ● Download the Unity Third...
Flexible 2D Moving Platform System | Unity Tutorial | Unity 2D
มุมมอง 42หลายเดือนก่อน
In this video, you will learn how to create a simple but flexible 2D moving platform system in Unity. It can be used in all sorts of 2D platformer games. ❤️ Subscribe to My Channel: th-cam.com/channels/-_Ca9zwwTwzYzgNXs4qzQQ.html ● Get the Project files on GitHub: github.com/TareqMalkawi/Unity-Tutorials/tree/master/Flexible 2D Moving Platform System Follow me on Instagram: tareqma...
Weapons Equipment System using IK | Unity Animation Rigging | Unity Tutorial
มุมมอง 1.2Kหลายเดือนก่อน
In this video, we dive deep into Inverse Kinematics (IK) in Unity! Learn how to leverage the Unity animation rigging package and utilize the Two Bone IK Constraint to perfectly position your character's hand on their weapon. ❤️ Subscribe to My Channel: th-cam.com/channels/-_Ca9zwwTwzYzgNXs4qzQQ.html ► Assets used in the video ● Download the Unity Third Person Controller: assetstore.unity.com/pa...
How to Create a Third Person Camera - Unity Tutorial
มุมมอง 93หลายเดือนก่อน
In this Unity tutorial, you'll learn how to create a third-person camera from scratch! Understanding the math and mechanics behind camera controllers is essential for game development. ❤️ Subscribe to My Channel: th-cam.com/channels/-_Ca9zwwTwzYzgNXs4qzQQ.html Follow me on Instagram: tareqmalkawi11 Check out my projects: tareqgamedev.com/projects/ #unity #unity3d #gamedev

ความคิดเห็น

  • @Foxus_lol
    @Foxus_lol 2 วันที่ผ่านมา

    Hello, this seems awesome, I was looking for something like this to get a grip on how locomotion systems work. Are you planning to also include topics like true FPS perspective with full bodymesh animations in this series? I found it very hard to get any in depth resources that deal with this mechanic.

    • @tareqgamedev
      @tareqgamedev วันที่ผ่านมา

      Thank you, I'm glad you enjoyed it. In this series, I'll be focusing on developing a third-person locomotion system. I've planned to cover various topics, such as leaning, aim offset, IK, and many more. Since preparing these tutorials takes a significant amount of time, I can't guarantee what else to cover. However, If I understand you correctly, you are referring to something similar to Call of Duty or Mirror Edge. I have looked it up and I found that they do this by using several meshes, unfortunately, I don't have experience in this, but maybe after this series is finished I can study such a system (I won't promise though), and if things work well I will make a tutorial about it.

  • @peche87_gameDev
    @peche87_gameDev 2 วันที่ผ่านมา

    I really like how you explain all and the pacing for each part. I would like to see a continuation of this same topic showing other animation states like shooting and reloading. It could be nice to see these topics as a second part with the same style you already did here. Great work, thanks for sharing it!

    • @tareqgamedev
      @tareqgamedev วันที่ผ่านมา

      Thank you, I'm glad you enjoyed it. To handle shooting animations, more advanced techniques like aim offset with IK are necessary if we want the shooting to feel good, for reloading it's not that hard, if we have a reloading animation we can use IK to place the player's hand on the clip while plying the animation to create realistic reloading. I'm currently working on an advanced locomotion series in Unreal Engine, with the first part already uploaded. In this series, I'll cover advanced topics such as aim offset with IK. In the future, I also plan to discuss shooting and weaponry systems including reloading. I recommend following this series, even if you use Unity, as the principles are the same.

    • @peche87_gameDev
      @peche87_gameDev วันที่ผ่านมา

      Thanks for the quick response! I'll be checking your next posts.

  • @ThomasReesbeck
    @ThomasReesbeck 5 วันที่ผ่านมา

    Adding a game unit perspective to linear algebra is a phenomenal method of teaching. Great job

  • @anirbanparam1087
    @anirbanparam1087 7 วันที่ผ่านมา

    Awesome video! , nicely showed the steps and actual math behind it.

    • @tareqgamedev
      @tareqgamedev 7 วันที่ผ่านมา

      Glad it was helpful!

  • @vanan2235
    @vanan2235 13 วันที่ผ่านมา

    Will you work on Unity in the future?

    • @tareqgamedev
      @tareqgamedev 13 วันที่ผ่านมา

      Absolutely! I plan to upload two videos each week-one focusing on Unreal Engine as part of the Advanced Locomotion series, and the other on Unity.

    • @vanan2235
      @vanan2235 13 วันที่ผ่านมา

      @@tareqgamedev 🥰🥰🥰

  • @ducnguyenzz
    @ducnguyenzz 17 วันที่ผ่านมา

    Great!

  • @UnityVista
    @UnityVista 19 วันที่ผ่านมา

    This tutorial is really awesome and great and it helps beginners a lot ❤ i have much experience of unity now a days but still the IK feels like blender's Geometry nodes, both are really much tough as think but you breakdown this in so easy way thank you so much ❤

    • @tareqgamedev
      @tareqgamedev 19 วันที่ผ่านมา

      You're welcome. I am happy you found the tutorial helpful.

  • @_alieutu9303
    @_alieutu9303 20 วันที่ผ่านมา

    continues the weapon system, with a scheme to equip 2 or more and inventory

    • @tareqgamedev
      @tareqgamedev 20 วันที่ผ่านมา

      I initially planned to create a series on inventory systems, but when I looked it up after uploading the video, I found numerous tutorials on inventory systems in Unity. Therefore, I decided not to create another inventory series. I am currently working on a comprehensive series about a locomotion system in Unreal Engine 5 and C++, covering basic movement, and advanced topics like turning in place, leaning, and more, which takes a huge amount of time and effort, and I am not even sure when I will upload the first video, so maybe in the future, I will consider creating a new series focused on implementing an inventory system. However, if you want to add an inventory system, there are plenty of helpful series on TH-cam that you can follow to easily implement it with the weapons systems.

    • @_alieutu9303
      @_alieutu9303 20 วันที่ผ่านมา

      @@tareqgamedev

    • @_alieutu9303
      @_alieutu9303 20 วันที่ผ่านมา

      I'll look for a good inventory tutorial, thanks for the help, I really liked the weapon system

    • @tareqgamedev
      @tareqgamedev 20 วันที่ผ่านมา

      You're welcome. I'm glad you found the tutorial helpful.

  • @edupantoja1210
    @edupantoja1210 25 วันที่ผ่านมา

    Nice video. I would like to see how you do the inventory system too.

    • @tareqgamedev
      @tareqgamedev 25 วันที่ผ่านมา

      Thank you! I initially planned to create a series on inventory systems, but when I looked it up after uploading the video, I found numerous tutorials on inventory systems in Unity. Therefore, I decided not to create another inventory series. I am currently working on a comprehensive series about a locomotion system in Unreal Engine 5 and C++, covering basic movement, and advanced topics like turning in place, leaning, and more, which takes a huge amount of time and effort, and I am not even sure when I will upload the first video, so maybe in the future, I will consider creating a new series focused on implementing an inventory system. Thank you again, and I'm glad that you found the video helpful.

  • @drr1867
    @drr1867 หลายเดือนก่อน

    Thank you very much for the tutorial. I don't mind the voice but it is hard to work out what you are clicking on without mouse visuals. I can't work out how to get aiming to work in game so I can alter the hand position

    • @tareqgamedev
      @tareqgamedev หลายเดือนก่อน

      Hi @drr1867. I'm glad the tutorial was helpful for you. You're right, I forgot to turn on the mouse capture while filming the tutorial. I'll make sure to turn it on in the upcoming videos. As for aiming, I'm not sure exactly what issues you're facing. Did you try aiming the same way I did in the video? I know I didn't explain the upper layer animation part as the video was getting too long, but I did everything in the video, so maybe you could slow down the video and follow along. Additionally, could you explain more about the issue you faced while implementing aiming so I can help you better?

  • @magicpixeltree
    @magicpixeltree หลายเดือนก่อน

    its really difficult to listen to the AI voice - i would rather have some poorly translated piece with a heavy accent.

    • @tareqgamedev
      @tareqgamedev หลายเดือนก่อน

      Thank you for your comment. I understand your concern. Moreover, the video has a translation that you can turn on and follow. I will try to change the AI voice to something more clear in the future.

    • @Hoptronics
      @Hoptronics 17 วันที่ผ่านมา

      ​@@tareqgamedevIt's not so bad.

  • @tareqgamedev
    @tareqgamedev หลายเดือนก่อน

    ➡Find all source code in this tutorial on GitHub page: github.com/TareqMalkawi/Unity-Tutorials