Make ROADS with Unity's Splines!
9:00
The NEW Splines Package in Unity!
12:53
Пікірлер
@kadagaden
@kadagaden 2 күн бұрын
Thank you, this helped me!
@anandev
@anandev 2 күн бұрын
You're welcome! 🤗 Glad it helped!
@RC_CAVALEIRO
@RC_CAVALEIRO 4 күн бұрын
Bro when the count is higher the mesh doesn't rendering properly it looks like disorted any solution for that
@anandev
@anandev 4 күн бұрын
Try reducing the number of faces in actual original mesh, and test with a higher 'resolution' on the script... Can you share screenshots on our Discord server or something, of the original mesh, and the distorted mesh, with the component so that we can look into it further? Also try changing the forward axis, and play around with rotation.
@dusklightcreations3951
@dusklightcreations3951 9 күн бұрын
Was really waiting to drop this video out. It explained lot of stuff that made me feel I was not using things the way it should be. Thanks for this. Also wanted to point out that the narrating speed was quit good for this one video to grasp the concept as firmly.
@anandev
@anandev 9 күн бұрын
Wow, thanks so much for the constant support man! I'm really glad the video helped clear things up. And I appreciate the feedback on the narration speed! I recorded this at 4 AM, so I was a bit slower and sounded more 'manly' than usual 😂 I'll keep it in mind for the next one!
@anandev
@anandev 9 күн бұрын
Btw, I'm currently working on the Intermediate video and a video on Profiling, and this input will be valuable!
@dusklightcreations3951
@dusklightcreations3951 8 күн бұрын
I like to take things slowly, and it felt suited to my taste. 😁So cold did quit a job in there.
@anandev
@anandev 8 күн бұрын
Yeah you do you!! 😉
@v0ltdev
@v0ltdev 9 күн бұрын
In unity 6 there is an audio random container asset which can be used instead of making a custom audio management solution
@anandev
@anandev 9 күн бұрын
Thanks for pointing that out! The audio container asset in Unity 6 is a great built-in option for audio management, like footsteps or ambient sounds. I went with a custom solution here to add flexibility for features like cross-scene persistence and category-specific controls, but it's awesome to have more tools available now!
@ThaoNguyễnVăn-n7o
@ThaoNguyễnVăn-n7o 9 күн бұрын
Thanks! You are amazing! I hope you develop tool, that can custom rotation points in spline as roller coaster
@anandev
@anandev 9 күн бұрын
It is possible to make roller coasters with my package, but it can be a pain to manage it. We can combine both SplineMesh and Spline Instantiate Components together, and create one. But it's really annoying if we want to change the spline, and would have to manually adjust things. I've finished adding physics based conveyor belt (along splines) and I'll make a video on it soon.
@tarutso
@tarutso 10 күн бұрын
Great tutorial thank you mate Re animating along spline using Custom Script (8:30), instead of using transform.up I'd recommend using the rotation of the spline itself, in case your spline is not plainly y-axis up. For me, my spline isn't on a flat plane but moves and twists in 3D space across all axes e.g: Unity.Mathematics.float3 upFloat3 = _spline.EvaluateUpVector(distancePercentage); Vector3 upVector3 = new(upFloat3.x, upFloat3.y, upFloat3.z); transform.rotation = Quaternion.LookRotation(direction, upVector3);
@anandev
@anandev 10 күн бұрын
Thank you so much! Rotating based on the spline itself is a better way indeed... I didn't even think about it while making the video! I'll pin your comment so that it may help someone!
@kel1590
@kel1590 10 күн бұрын
my hero
@anandev
@anandev 10 күн бұрын
Haha I'm just the friendly neighborhood game dev!
@anandev
@anandev 10 күн бұрын
I should have named my channel that lol 😂
@lyohez4967
@lyohez4967 11 күн бұрын
Thanks! You are amazing!
@anandev
@anandev 10 күн бұрын
Thank you too! It means a lot!
@Rat-k3f
@Rat-k3f 15 күн бұрын
One of the most informative tutorial that I've ever seen in a while. I love how you pay attention to explain how each elements works with given example.
@anandev
@anandev 15 күн бұрын
Wow thank you... This means a lot to me
@Kv-bx4rx
@Kv-bx4rx 15 күн бұрын
Still works, thank you
@anandev
@anandev 15 күн бұрын
Glad I could help! 😸
@JamesPhanJP
@JamesPhanJP 16 күн бұрын
GOOD
@anandev
@anandev 16 күн бұрын
THAAANKS
@EngerJimenez
@EngerJimenez 20 күн бұрын
Quite late but consider making a full playlist of this. Loved the examples in-game. :)
@anandev
@anandev 20 күн бұрын
Of course! What sort of videos would you like on this playlist? Should it be about different components in Unity or should it be about things within the Rigidbody component?
@Hipernt
@Hipernt 21 күн бұрын
Thanks dude, just what I needed. Appreciate it
@anandev
@anandev 21 күн бұрын
I'm glad I could help!
@appstuff6565
@appstuff6565 21 күн бұрын
What a beautiful tutorial. Thank you! Subbed,, Liked and Commented!
@anandev
@anandev 21 күн бұрын
Thank you sooo much 🥹❤️ You made my day, this means a lot
@anandev
@anandev 21 күн бұрын
Also I forgot, I'm glad the video was useful.
@appstuff6565
@appstuff6565 17 күн бұрын
@@anandev indeed.
@HalloGamer2354
@HalloGamer2354 26 күн бұрын
Thank you for the tutorial. It's easy to follow and great to learn the basics.
@anandev
@anandev 26 күн бұрын
Thank you so much! I'm glad the video is useful!
@phamduy2053
@phamduy2053 28 күн бұрын
good video sir
@anandev
@anandev 28 күн бұрын
Thanks! Glad the video was useful!
@rdothl5
@rdothl5 Ай бұрын
Profiling video would be very useful, I ran my game on android and it's barely 30fps, not many models so I don't know why it's slow
@anandev
@anandev Ай бұрын
I will add it to my list 👍🏻 Profiling is very useful, but for Android, there could be so many reasons why the game could get slow. I remember watching an entire hour and half long video on Unity's official KZbin channel on Android optimization. Might be worth checking it out.
@costaslambrou5424
@costaslambrou5424 Ай бұрын
Not just a good video on animation trees in unity, but also a thorough explanation of the logic in general. love it! very educational
@anandev
@anandev Ай бұрын
Wow, thanks! This made my day!
@patrickbielau6919
@patrickbielau6919 Ай бұрын
Great vid! On point, understandable and easy to follow. My recommendation for the custom script: rather than setting to 0f, if the value is greater than 1: reduce by one. reduce minimal error :)
@anandev
@anandev Ай бұрын
Woah didn't know that! I will keep it in mind next time... Also, thank you so much it means a lot 🥹
@amitrawat1906
@amitrawat1906 Ай бұрын
great advice
@anandev
@anandev Ай бұрын
Thank you!!
@vulpoaica5744
@vulpoaica5744 Ай бұрын
@anandev
@anandev Ай бұрын
🤖💖🐷❤️✨
@darioz8241
@darioz8241 Ай бұрын
Your explanations about Colliders and Rigidbody are pure gold, thank you so much
@anandev
@anandev Ай бұрын
Thank you so much! This made me so happy! 🥹❤️ I'm glad the video was useful!
@Director414
@Director414 2 ай бұрын
great video! thanks bro!
@anandev
@anandev 2 ай бұрын
Thank you! I'm glad you liked it!
@jellystump2417
@jellystump2417 2 ай бұрын
Wow you explain thing sooo good, Thank uu
@anandev
@anandev 2 ай бұрын
Thank you so much this means a lot ❤️
@AbsoPrime
@AbsoPrime 2 ай бұрын
Splines in unity? How many more hidden tools are available in this game engine..
@anandev
@anandev 2 ай бұрын
Thanks for your comment! Unity is packed with features, and I'm glad you're as excited to explore them as I am! There's also a screen recording feature inside Unity that I recently discovered! It still amazes me to this day that there is always something new to learn.
@noisabreus
@noisabreus 2 ай бұрын
Help, how can i exit from a substate animation loop like movement without have dozens of exit transitions? Is it possible to cancel substate animations from base layer transition?
@anandev
@anandev 2 ай бұрын
Good question! It is possible with a bit of code, or by using 'Any State'. Having dozens of exit transitions may seem a bit bad, but it is perfectly normal for a complex game. If you hate exit transitions inside Movement Sub state machine, you can use the 'Any State' node inside other sub state machines, and then transition back to Movement. But the downside of this is that, you would have to manage a lot of conditions so that it doesn't transition to other Any States in the layer. If you are okay with code, you can really use Animator.Play() or Animator.CrossFade() functions. This cancels the current animations and immediately jumps to the required animation. If you need blending, you should use Animator.CrossFade() function. Once the required animation plays, Unity handles the animator from that new state onwards, so you would need to "exit to movement sub state machine". Hope this helps! 😊
@davidtourangeau
@davidtourangeau 2 ай бұрын
Amazing!!
@anandev
@anandev 2 ай бұрын
Thanks!! Glad the video was useful!!
@RoxGame
@RoxGame 2 ай бұрын
my geometry uv axis are both x and y together how to fix that texture appear good in some area and some no
@anandev
@anandev 2 ай бұрын
You might consider doing the following things: 1. Try splitting the mesh and add multiple SplineMeshResolution (I don't know what exactly is this case, so maybe it might work) 2. Check if UVs are properly assigned or rotated to face one axis. 3. You can edit this package however you want. Go to SplineMeshResolution script, scroll down to the comment where it updates the UVs of the generated mesh. Think about how it is being done, and make changes. I don't have a visual image of the current problem you're facing. If you could kindly post some images on what's happening (along with an image of the UVs) on the Discord server, I will see what I can do, make changes to recreate the issue and perform a shadow update to try and fix it for you.
@adrianvoogd
@adrianvoogd 2 ай бұрын
Thank you so much, this is a reference tutorial in my opinion!
@anandev
@anandev 2 ай бұрын
Aw! Thank you very much! I'm glad the video is useful!
@v0ltdev
@v0ltdev 3 ай бұрын
You should upload the project source files on github instead of a unity package file, that way people can directly get the package trough the package manager and easily update it and also contribute to it if they wish to.
@anandev
@anandev 3 ай бұрын
Oh that's a great idea! I will do that before I upload the next video! Btw I am done with adding support for Probuilder Mesh. I will add that along with the source files as well. There will be an additional script for Mesh conversion for Probuilder users. I will make a short video on it, it's pretty straightforward. Thank you once again.
@normioffi
@normioffi 3 ай бұрын
Thank you for this tutorial, I can finally make my railway perfectl!
@anandev
@anandev 3 ай бұрын
Yaaaayyy!! I'm glad I could help ☺️ I would love to see what you have made, please do show me if you can, if you're sharing it somewhere
@normioffi
@normioffi 3 ай бұрын
Well, i'll try next time because right now I can't use my pc...
@anandev
@anandev 2 ай бұрын
That's alright! 😋 Best wishes
@nooblegendgaming7656
@nooblegendgaming7656 3 ай бұрын
netcode for GameObject Tutorail plz
@anandev
@anandev 3 ай бұрын
Which video? For this video, the link is in the description
@anandev
@anandev 3 ай бұрын
While Overlapping UVs are caused with lower resolution bake, and may solve itself with a higher resolution bake, this is not the case when you are working on a AA+ standard game. In many big games, Lightmaps are created manually in a 3D software, which gives complete customisation.Things may go wrong very easily in those cases. Just saying for clarity. I hope I am not wrong 😂
@v0ltdev
@v0ltdev 3 ай бұрын
Could you add support to be able to use this with probuilder meshes?
@anandev
@anandev 3 ай бұрын
I will see what I can do! ☺️ It's been a while since I have used Probuilder, but I think it should not be that hard. I'll let you know when it's added.
@Bo1xDEV
@Bo1xDEV 3 ай бұрын
Very good video!
@anandev
@anandev 3 ай бұрын
Thank you very much! I'm glad the video is useful!
@dusklightcreations3951
@dusklightcreations3951 3 ай бұрын
Not sure why it's private video
@anandev
@anandev 3 ай бұрын
Wait what
@anandev
@anandev 3 ай бұрын
Is it ok now? Some weird things are happening with my feed right now. The community post also isn't showing up...
@agnarzb
@agnarzb 3 ай бұрын
Hi there I would like to thank you for the tutorial. Your explaianation is quite clear, step by step, very organized. It helped me to figure out how Urp lightning is working. cheers
@anandev
@anandev 3 ай бұрын
Hiiiii!!! Thank you so much for letting me know. This means a lot 😄❤️ And I'm glad the video helped!!
@user-pn7wq9cl1g
@user-pn7wq9cl1g 3 ай бұрын
I didn't know that rigidBody physics update at a fixed 50/s rate. Damn.
@anandev
@anandev 3 ай бұрын
Yeah it's really useful to know that. I don't remember if I have mentioned it in the video, but we can change that in the project settings.
@emaceart4063
@emaceart4063 3 ай бұрын
Thank you for your interest in my assets, I wish you good luck
@NOpainNoGain176
@NOpainNoGain176 3 ай бұрын
Thanks
@anandev
@anandev 3 ай бұрын
Welcome! Hope this was useful!
@krishnanramdas9142
@krishnanramdas9142 3 ай бұрын
@anandev
@anandev 3 ай бұрын
Thank you so much 😍❤
@kagunslinger767
@kagunslinger767 3 ай бұрын
As other already said, great tutorial. But the way you answer with such genuine care and knowledge in the comment is just amazing. Respect.
@anandev
@anandev 3 ай бұрын
Thank you so much for this!! This really means a lot, and gives me energy and helps me understand why I should keep makingmore videos 😀 Thank you once again for your kind words :)
@ryan_raus
@ryan_raus 3 ай бұрын
Incredible video!!
@anandev
@anandev 3 ай бұрын
Thank you so much! I'm glad the video is useful!
@ilypavan
@ilypavan 3 ай бұрын
Can you make a video on how to fix the overlapping uvs? I'm totally lost.
@anandev
@anandev 3 ай бұрын
Yeah I can do that. Would you prefer a short video or a long form video?
@ilypavan
@ilypavan 3 ай бұрын
@@anandev maybe a long video which may help more in understanding the steps? if it is an short easy fix then maybe a short video?