Playing with Unity Splines (Installation & Examples)

Поділитися
Вставка
  • Опубліковано 13 лип 2024
  • Check out Unity 2022 LTS blog page:
    on.unity.com/3OyB0jd
    Master the art of real-time filmmaking and start making short films with Unity in less than 4 hours:
    obalfaqih.com/courses/unityfi...
    Unity Spring Sales (Affiliate Links)
    Homepage:
    assetstore.unity.com/?aid=101...
    Flash Deals page:
    assetstore.unity.com/?flashde...
    50% off page:
    assetstore.unity.com/?on_sale...
    You can get my Unity tools here (either from my Store or the Unity Asset store):
    obalfaqih.com/unity-tools/obj...
    obalfaqih.com/unity-tools/sea...
    Playing with Unity Splines (Installation & Examples)
    Chapters:
    00:00 Intro
    00:50 Setup
    01:14 Creating a Spline
    02:13 Sponsor (Unity)
    02:47 1) Spline Extrude
    04:03 2) Spline Instantiate
    06:05 Spring Sale
    06:27 3) Spline Animate
    07:14 Extra Example 1 (Flying Spaceship)
    07:48 Extra Example 2 (Extrude Animation)
    10:13 End
    ------ Tools & Gear I Use (Affiliate Links) ----
    obalfaqih.com/gear
    ------------ Links ------------
    My website:
    obalfaqih.com
    Discord:
    / discord
    Blog:
    obalfaqih.com/blog
    Unity:
    unity3d.com
    GitHub:
    github.com/OBalfaqih/Unity-Tu...
    Twitter:
    / obalfaqih
    Instagram:
    / obalfaqih
    Facebook:
    / obalfaqih
    Reddit:
    / obalfaqih
    Music:
    bensound.com

КОМЕНТАРІ • 30

  • @obalfaqih
    @obalfaqih  Рік тому

    Hopefully you found this tutorial helpful!
    Unity 2022 LTS is released! Check out the LTS blog page:
    on.unity.com/3OyB0jd
    Join the newsletter for my Unity Filmmaking 101 course updates and enjoy 25% off of your first purchase:
    store.obalfaqih.com/pages/filmmaking-course
    Let me know if you have any questions or suggestions.
    Happy learning!

  • @MahdiBenaoun
    @MahdiBenaoun 3 місяці тому

    this saved me days, thanks man!

    • @obalfaqih
      @obalfaqih  3 місяці тому +1

      Hi, you’re welcome and thank you for your comment 🙏🏼
      If you have any other questions or topics you want me to cover you can comment here.
      All the best

  • @LiquidMark
    @LiquidMark Рік тому

    Is there a way to add more points to the spline?

  • @itsosmx
    @itsosmx 9 місяців тому

    man i was searching for something like that thanks alot.

    • @obalfaqih
      @obalfaqih  9 місяців тому

      You’re welcome, always glad to help!
      Let me know if you have anything else you would like to learn more about.

    • @itsosmx
      @itsosmx 9 місяців тому

      @@obalfaqih i am trying to make navmesh agent walking based on the route i created using splines but not working with me. the knot position not right. Can u make a video for this please

    • @obalfaqih
      @obalfaqih  9 місяців тому

      @@itsosmx I haven't tried using spline for navmesh agents, maybe you can try either using the "knots" as waypoints for the agents or when you want them to follow a path, disable navmesh and let them be controlled by the spline and keep switching back and forth.

    • @itsosmx
      @itsosmx 9 місяців тому

      @@obalfaqih the problem is knots does not give position in the world space this why i got the position wrong and i dont know how to get world position

  • @dmrm2161
    @dmrm2161 5 місяців тому +1

    Best video about splines in Unity. Thank you!

    • @obalfaqih
      @obalfaqih  5 місяців тому

      You’re welcome, glad I could help

  • @incernpakistan
    @incernpakistan Рік тому

    super

  • @ptato_
    @ptato_ Рік тому

    شكرا هالشي مفيد جدا ويسهل صناعة الطرق بالالعاب بالاضافة ممكن استخدامه لتحريك سيارات وناس بشكل اوتماتيكي

    • @obalfaqih
      @obalfaqih  Рік тому +1

      العفو 🙏🏼
      بالفعل، راح تسهل اشياء كثيرة وتعطي قدرة اكبر… وافضل شي انه الاضافة من يونيتي.

  • @jinhuawen7876
    @jinhuawen7876 4 місяці тому

    Very useful video about splines in unity.Thank you!

    • @obalfaqih
      @obalfaqih  3 місяці тому

      You’re welcome 🙏🏼

  • @pnvgordinho
    @pnvgordinho Рік тому

    How about controlling a character that moves left and right and jumps on the spline?.
    If you put a character inside a null object and put the null object in the spline, will it work?.
    Thanks.

    • @obalfaqih
      @obalfaqih  Рік тому +1

      That’s something very interesting! Theoretically it should work. I will do some tests with it and if it works, I will create a tutorial on that matter. Obrigado, Pedro!

    • @pnvgordinho
      @pnvgordinho Рік тому

      @@obalfaqih I just remembered that there's an example like this in itween.

  • @calebvaccaro
    @calebvaccaro Рік тому +1

    Has anyone put a collider on the extrude spline object? Adding colliders is what really would take this package to the next level and compete with Unreal's spline tool. I'm testing it out now, just wanted to know if anyone has done any racing or actual movement on the splines.

    • @obalfaqih
      @obalfaqih  Рік тому

      I think it uses a mesh collider based on the extruded mesh but I haven’t tried placing objects/physics on it.

    • @iamtibit
      @iamtibit Рік тому

      I have made a custom script that automatically sets up collision for splines since unity doesn't have a built-in system for them.

    • @Mendel_tv
      @Mendel_tv 11 місяців тому

      @@iamtibit and where can i find it?

    • @iamtibit
      @iamtibit 11 місяців тому

      @@Mendel_tv I don't have it public yet. I'll send a git link at some point.

  • @rounakchoudhary9042
    @rounakchoudhary9042 Рік тому

    Hello Brother, You did an amazing job with this tutorial 🔥🔥
    I found your channel through LinkedIn and you are amazing 🤩🤩

    • @obalfaqih
      @obalfaqih  Рік тому

      Hi, Rounak!
      Thanks for your comment, always glad to help and welcome to the community 🙏

  • @dvr102
    @dvr102 Рік тому

    I don't see this in Unity 21 LTS.. do I need 22?

  • @lukabelosevic1501
    @lukabelosevic1501 5 місяців тому

    Is there a way to use splines in Timeline ?

    • @obalfaqih
      @obalfaqih  4 місяці тому

      You should be able to animate public parameters