Procedural Animation tutorial
Вставка
- Опубліковано 25 вер 2024
- How to make procedural animation in unity? Easy to set up procedural animation solution. If you want to add procedural animation to your game this video is for you! In this video I'm will talk about my procedural animation asset that will be available soon in the asset store!
assetstore.uni...
The original tutorial that I used as a starting point for this project. you can also find this amazing spider model here :)
• "Step by Step" Procedu...
my discord - lolopupka#2630
music - jimmy square my band
special thanks:
Lera - voice over
Dima - 3d models
😱WOW! It's so COOOL!!! I am a total newbie to Unity, the technology looks like magic to me now 😂 Thanks for sharing this cool video with us!!!
Thank you! :)
I love the Models , the VoiceOver and the Asset , An Amazing unique asset! Thank you Lolopupka ;)
Thank you so much, I'm glad you liked it! If you really like the asset you can leave a review at the asset store! :)
Insanely helpfull, lots of usefull information packed up nicely
Thank you for the positive comment! This means a lot to me!
why do my feet only move a slight bit like shuffling when I drag the actor ?
Hi, thanks for purchasing my asset! Have you set the ground layer? Is u did maybe try tweaking cycle speed. If it didn't help contact me at karen.magik.user@gmail.com or discord at - @lolopupka
when i move my model the feet dont move they just stay still even with the prefabs of your ones they stay still and dont move how can i fix this?
Hi! Thanks for buying my asset! The problem you're talking about usually resolves by setting a layermask in the procedural animation script, or you might have forgotten to set this layermask to the ground. If you have more questions, contact me via email at karen.magik.user@gmail.com or Discord at @lolopupka.
im using a custom script but my player keeps on falling through the floor when i play test it. it a vr game so i tested it on my quest 2 and the player is the player but the player is in the right spot. any idea how to fix?
@@youraveragegamemaker hello! If the player falls through the floor that could be a collision issue. Make sure the rigindbody and the colliders are set up correctly. If this doesn't help please provide me more details or a video of the problem. You can contact me via discord at @lolopupka or email - karen.magik.user@gmail.com
It was tremendously concise, I wish all the tutorials where like this!
Thank you! :)
for som reason i can't add procedural animation component, it do not apear on the list '-'
This is an asset not a standard unity script. I made this extension for unity so first you need to buy it. If you are interested, link is in description :)
Oh I saw this on Lincoln's channel! Really cool to see others being able to learn from him.
True! His tutorial is very cool but it is actually a mix of a lot of tutorials that I saw. But his is definitely the most detailed one :)
Script works perfect for rigs with feet, but if its just a upper leg and lower leg, it seems to stop at setup,
Any way I can fix this?
Hey, thank you for buying my asset! I'm sorry you got problems with that. What do you mean by "just upper leg and the lover leg"? Could you please give more detailed explanation of your problem so I can help you. You can also contact me in discord if it's easier for you - @lolopupka
one question, I installed the Animation rigging package but it seems that the procedural animation script is missing, any ideas why?
Animation rigging is a tool to set up the IK but the procedural animation is a custom script that comes with my own asset at the asset store. You can check it out if you are interested - u3d.as/30gp
when i try to move the model it does work, the lower and upper arms work perfectly. but the feet just doesnt move. when i move the target it still doesnt move its like frozen, same with the wrist bones. i set everything up correctly, same layer and stuff. i also set up animation rigging right since im good with animation rigging. any way to fix this issue because i dont have alot of time left. thanks!
Hi! Thanks for buying my asset. Not sure what could cause this problem it would be much easier if you could provide me a video of it. You can contact me at karen.magik.user@gmail.com or discord -@lolopupka.
@@lolopupkasure!
Would this system also work, if the character is simulating physics?
Sure! But how exactly is it simulating physics for example if you just mean collisions they will work but if something more complex I need a bit more details. This script changes position of the body bone and Ik targets every frame so you likely won't be able to push them with physics forces. However you can interact with the whole model in the collider attached to the root transform for example. For more details you can contact me via discord at @lolopupka or email - karen.magik.user@gmail.com
@@lolopupka Well I want to create self balancing ragdolls. And to balance themselves I wanted to use procedural animation. But if I cant push them using physical forces like you said it wont work. But thanks for helping me
Great stuff, very helpful video, thank you for that :)
Thank you, I'm glad you liked it. Good luck with your projects!
Where do you get the procedural animation script from?
Hey! Check the link in the description its an asset that I made. Be avare it's not free. However in a few days you can buy in with the 50% discount
Could this asset be used to make a VR procedural Hand grip of interactable objects in OpenXR? It seems it would be if it can toggle on and off when the grip is pressed and If possible I would love to see a video on how that would be set up.
I haven't tested it in VR. But I think it could work. But this tool is manly focused on walk animation not the grip. You can try though. I'll try to do it. :)
hey, would this work in a newer unity version?
it does for me
@@Zorfi yep, i got it the same day i sent this haha, thanks anyways :)
@@capuclolhaha sorry didn't see your comment but yes it will work in the future versions as well! If you have any more questions I would gladly help :)
@@lolopupka nope, i got it all working perfectly :) amazing asset btw, helped with my horror game monster a ton :D
This is a cool tutorial... keep up in this pace....
Thank you! :)
Question, why are the the sphere casts all together, how would i fix this
Hello, what do you mean they are all together? Could you perhaps provide me a screenshot or a video of your problem so I can help you to solve it. You can contact me via discord - @lolopupka or email - karen.magik.user@gmail.com
@@lolopupka ok, i just woke up but i'll set a reminder to do this
Really useful, I've been trying to figure out what the easiest free method to do this is and didn't really know if Unitys method really held up but this looks good. What's the best method around getting stuff like foot placing to have the right rotation on slopes? Raycasts?
Hi! Be avare this is not free asset it will cost 25$. The best method for foot placing is Spherecast in my opinion. Rotation is handled by getting hit normal of the Spherecast. There is a few tutorials about this on UA-cam so definitely check them out. I was highly relying on information I found in this free tutorials. Thanks for the positive comment :)
Hey the Asset is finnaly out if you are still interested in it go check it out :) u3d.as/30gp
i cant find mine procedural in my package
Hey what do you mean by that? Did you import the procedural animation package? This is a paid asset by the way, not a built in tool.
yes
i did import the tool but the script never showed up but my friend is gunna help so
dont worry abt it@@lolopupka
At 3:24 when I move my targets to the main body they are off (They change location). Is there a way to avoid this or I did something wrong please help
Oh sorry never mind. I was in play mode when I made those changes🤦♂🤦♂
@@mduduzimdu6160 no problem I also often do smth at play mode and forget about it. Btw you can make the editor window change collor when entering playmode this is really helpful and you always know you are in playmode. Thanks for buying my asset! :)
@@lolopupka Haha haven't bought your asset yet but I will. I am using a humanoid but it's trickier so I want to use this spider instead. And thanks for the advice🙌
@@mduduzimdu6160 NP :)
Extremely useful tysm but it would work with physics/active ragdolls too right?
@@AliErtugay Hi, thank you for the positive feedback! It depends on what do u want to implement for example simple colliders will work great. Also If you add a collider to the root transform of an object you can affect it by external forces for example push the character with other physic objects. However if you want to add physics to the body only it will be a bit tricky since the script updates body position every frame and cuz of that physics simulation could be glitchy. But in general yes you can add some physics to it! Hope it helps if you have more questions you can contact me via discord at - @lolopupka or email - karen.magik.user@gmail.com
it works, but I need it to go at the same pase as my model. It cant keep up.
Hi! Tnanks for buying my asset! What do you mean by that? Could you please give more detailed explanation of your problem so I can help you, thanks :)
Now the question is, can it rotate its body to face the direction its moving
Can it climb a vertical wall for example? I found that one hard to overcome
Of course it can rotate ita body. But unfortunately it cant climb vertical walls yet. I'm planning to add this in the next update so subscribe if you don't want to miss the updates
@@lolopupka yes, sir
This is one of the most fun things to do in Untiy :) keep it going
@@timurradman3999 Hey the Asset is finnaly out if you are still interested in it go check it out :) u3d.as/30gp
i can´t find the animation rigging package under the package manager
You need to click on package manager and then in this new window search for animation rigging. You can refer to unity documentation. Just google animation rigging Unity and you'll find a clear step by step guide. Hope it helps :)
@@lolopupka thanks for the reply, i figured it out already tho
THANK YOU SO MUCH im working on a game called monster in the middle and i assure you i will credit you and the asset thank you so much
I'm so glad that my asset was helpful! I would like to see your game btw if you have a link for a UA-cam channel or a discord. Btw an update is coming so stay tuned for that. And if you really liked the asset you can leave a review on the asset store. That would really help. Good luck with your project! :)
I’m not seeing the procedural animation script?
Hi! It's a paid tool that you first have to purchase is the asset store(link in the description). It doesn't come with the unity game engine.
wow, I begun following the tutorial only to find out this need an add-on to be bought
Yeah sorry that it was not so clear. This is my paid asset. You can buy it if you want a fast result or you can follow other free tutorials :)
I can't find the Script?
@@Crocc101 Hey! check the link in the description it's an asset in the asset store not a built in tool :)
Please help: When testing in play mode, the bones move but the mesh stays static! Am I missing a step?
Hmm, seems like you've set up the IK wrong. Try to check the IK and if everything ok, text me in discord - @lolopupka
@@lolopupkaI decided to splurge and bought puppet3d. Worth it!
i dont have the procedural animation script how do i get it?
Hey! As I said in the beginning of the video this is my asset in the Asset store. Be aware this is a paid asset. You can find the link in the description :)
So i need to buy it to get the script?@@lolopupka
@@Xaandaa Yep, this is a tool I made and it costs 25$. By the way there will be a sale soon, and you could get it with 50% discount! :)
This looks incredible. I bought a creature asset earlier that has a spider body for the lower half and a humanoid body for the upper half. Would this be able to give just the legs a decent walking animation while the upper half is controller by normal animations for things like attacks? If I played a jumping animation or a kicking animation would it conflict with the procedural animations and IK?
Thanks you! Yes it would be able to do that! You can mix procedural and regular animations. It is a bit harder when you want to animate an Ik because procedural animation script controls it position every frame. However you can disable the procedural animation for some legs when you want an attack animation for example. You can do both of this things pretty easily. If you run in some kind of issues with that you can contact me in discord and I'll help you with setting this up! :)
im having a problem with the model i made and i dont know why so can you make a tutorial on how to make a model for it
Hey! What kind of problem? Maybe I could help. You can also contact me in discord and I'll help with your setup :)
@lolopupka
The model I think has all the stuff I need I made the model so I don’t know if I’m correct
Really awesome work, any chance you would know what can cause the controller script to make the rig go backwards?
Thank you! What do you mean by that? You mean when pressing W key model rotates the wrong way or it goes at wrong direction? You could send me a video of your problem in discord if you want - @lolopupka
@@lolopupka it was using the speed variable in the controller script. Thanks for getting back so fast! I’ll send through a discord.
Thank you very much for this great tutorial. I have the problem that my custom spider rig imported into unity after all steps works well testing out the IK feet in the first steps but when it comes to the walking animation test all 8 feet stick to their initial position. Do you have a hint what might be the problem? Thank you very much for your help :)
Sorry for asking so fast. After 3 hours of testing I think the ground layer, that I falsely gave a tag instead of a layer was the problem :D My only problem now is to bring other colliders than the ground to work. For example letting the spider climb 90 degree Walls from ground to the wall.
@@dr.potatoo3547 Hey! I'm glad you found the problem. The wal climbing isn't included in package yet, however I'll add it very soon, so stay tuned for the updates. You can try to set up it yourself if you dont want to wait for the update. There is some good tutorials on UA-cam about that.
@@lolopupka Thank you so much again for all your great work. I can only recommend to everyone to buy the script in the link.
It is very well made and works great and saves a lot of time.
I would be interested, beneath the wall climb option, if it makes sense to duplicate that spider to have a swarm of spiders.
I tried with my spider and made around 300 Copies and it works ok but I have to reduce the polygon count and texturepaint it and resculpt it probably. I would be interested if the calculation process is worth it to probably work with around several thousands of instances or if it is better in that case to use a preworked animation process because every swarme spider has to follow a target and also calculate that beneath its walking cycle and contain othe animations like falling down on hit etc.
Thank you again very very much for your great work. I am a generalist and work a lot of the workflow steps myself and it helps me a lot when I can save time 'cause my coding skills are ok but not that deep to create something like this so fast.
@@dr.potatoo3547 HI! I'm very glad that you liked my asset! Honestly, I'm not sure about 300 copies, I've never tested it with that many instances. You can try but I think that with so much spiders it's better to use regular animation. Hope this helps, good luck with your project! Do you have a UA-cam channel btw? I would like to see your project.
Thanks for this video but can you show the script of procedural_animation ?
unfortunately I can not this is a paid asset but you are interested in it go check it out :) u3d.as/30gp
Still can't get over how you capitalized the U in Setup.
Hahah idk why I did this
how to i get the animation script
Hi! The script is part of the paid package I made, you can find the link for it in the description. I would be glad if you find it suiting for your project! :)
I don't have money😢
Wow that was pretty cool 👍🏻
Haha I got that reference, thanks! :)
@@lolopupka ;)
Is it possible to make the spider walk up the wall or even on the ceiling?
Technically it is possible but you need a proper controller for this. I'm. Actually planning to add this in future updates. You can subscribe so you don't miss the updates. Thanks for the comment :)
@@lolopupka cool! can't wait for the release and the update!
@@munyunu Hey the Asset is finnaly out if you are still interested in it go check it out. It cant climb walls yet but I'm currently working on it :) u3d.as/30gp
@@lolopupka this is so nice. Can I use this for an animal foot IK? I move a dog via rootmotion. But the dog's feet just not touching the floor in a nice way.
amazoning
Hey! The asset is available now with 50% discount! :)
0:54
Russian?
great work, thank you
Thanks for the comment :) yep that's not a secret I used to live in Russia before the war started.
@@lolopupka that's cool, i'm from Ukraine
i cannot find procedual anim on anim rigging (pls help)
Hey! This script is not part of an animation rigging package. This is an asset that I made. You can find the link to it in the description
@@lolopupka nah nvm then
Fire 🔥
Thanks! :)
i am a student and i have no money is there any way i can get the package for free i will appreciate it and after learning i will try to buy the package in future to pay the amount
gj hanzo
This is awesome
Thanks! :)
one question the procedural animation good for low end devices means it's consuming more cpu resources or it's good like separate animations
What the script does is shooting raycasts to check for the ground, moves body and moves leg IK controllers so it doesn't consume a lot of cpu resources. Difference between this and regular animation is not that big unless you have like 100 models in your scene
@@lolopupka okey
I can't find the animation rigging assest
For more info about animation rigging and how to install it please refer to the official unity UA-cam channel or documentation. Thy have a nice step by step guide
Hey the Asset is finnaly out if you are still interested in it go check it out :) u3d.as/30gp
do i have to buy the asset or is there another way to do it for free? i dont wanna spend $25 :(
Hey! You can wait for the official Unity bundle and by this asset with a discount or you can refer to some tutorials on the UA-cam. I used this tutorials to make this asset. There is a link the description to the linkolns channel, he has some great guides about the procedural animation.
Hey! The asset is available now with 50% discount! :)
where does it say procedure animation in list
Hi! What do you mean by that? U have troubles with finding the procedural animation script?
@@lolopupka yeah
The part where you put the target at
noiceeeeeeeeeeeeeeeeeeeeeeeeeeee
Awesome video, helped a lot with the setup. I used chatGPT to give me a simple procedural animation script, but I don't want to steal your business so I'll keep it to myself haha. Slava Ukraini
Haha, great! I have two more assets coming that are harder to replicate so maybe you'll be interested in this. Slava Ukraini!
i dont have the procedual animation script for some reason
Hey! The procedural animation script is part of my asset as I said in the beginning of the video this is a tool I made. Be aware, Its not free, you can find the link is the description. It is now available with 50% discount! So its a perfect time to buy it if you want :)
@@lolopupka dammit,well i guess ill try another way as im to broke to afford scripts lmao thanks anyways tho
where do i get the scripts?
there paid.
Hey! That's a paid asset in the asset store that I made you can check the link in the description if you want some more details
I wish this worked for 2D platformer games!
Check out my UA-cam channel. I actually do have a procedural animation asset for 2D games!
Do you have an update for when this will be available?
Should be out in a few days! I'm currently on the 400 position in the queue and they review like 80-100 assets a day usually
@@lolopupka I don’t think you ended up adding me on telegram
@@LUXSON_Tech_Demos What do you mean by that? I haven't put the link to my telegram anywhere I dont even use it that often. If you want to contact me directly you can text me in discord (link in the description and bio)
@@lolopupka oh yeh it was someone else
@@LUXSON_Tech_Demos Hey the Asset is finnaly out if you are still interested in it go check it out :) u3d.as/30gp
Good one keep going❤
Thank you!
@@lolopupka you are welcome 🤗
I can't find the Procedural Animation script
Hi. This procedural animation script is part of my asset in the asset store so first you need to buy it. You can do it as soon as asset store approves my application. I can notify you if you want :)
@@lolopupka I would like a notification please. Also how much will the package be?
@@NEEDCheese 25$ but on release date there will be discount! :)
@@NEEDCheese hello, can you give me your telegram?;)
@@NEEDCheese Hey the Asset is finnaly out if you are still interested in it go check it out :) u3d.as/30gp
this works on humanoid characters ?
It works with humanoid characters. But I'm not sure if it's gonna look more realistic then usual animation. I'll try to make a scene with humanoid character and upload short video on this chanell about it, so if you want to see this you can subscribe to this channel. Thanks for the comment :)
Hey the Asset is finnaly out if you are still interested in it go check it out :) u3d.as/30gp
Woah that’s crazy
Thanks! :)
Check out this asset in the asset store!
assetstore.unity.com/packages/slug/244662
when will the asset come out?
Hey again. Sorry to say that but asset store said I have to fix a few little things before release so it's gonna take just a few more days. I will make a video and reply to your comment when it will be out.
@@lolopupka Thanks a lot ;)
@@beluga6788 Hey the Asset is finnaly out if you are still interested in it go check it out :) u3d.as/30gp
спасибо!
Не за что, приятно видеть русских в комментариях)
Thank you for this!!
Thank you for the comment! :)
Красавцы)
Спасибо)
Do you have an update about when this will be out? Looks brilliant
It will be out in about two weeks unity doesn't tell me the concrete date but I can notify you whenever it's out :)
@@lolopupka Thanks, what's the price?
@@LUXSON_Tech_Demos 25$ but there will be a discount on the release date :)
@@LUXSON_Tech_Demos can i contact you on telegram?
@@beluga6788 Yes, what's your telegram?
Is it still not on the store yet?
Yeah Unity is doing this sooo slow I had to fix a few things yesterday and now they say a few more days are required and I really hope this is true. I will notify you if I have any new information.
@@lolopupka thanks if possible add a first person view to the assets. Thats what I’ll be using it for. A first person view as an octopus character
@@LUXSON_Tech_Demos I added first person suuport for you just before the release it's a bit buggy but I'm gonna fix everything with first update! :)
u3d.as/30gp
@@lolopupka I've bought it but the first person scene, the player can't move and I have this error.
Starter Assets package is missing dependencies. Please use Tools/Starter Assets/Reinstall Dependencies to fix it
UnityEngine.Debug:LogError (object)
StarterAssets.ThirdPersonController:Start () (at Assets/Procedural Walk Animation/Scripts/controllers/ThirdPersonController.cs:145)
And even on the third person scene. I can't move
nice
Thanks :P
굿!!😀
Hey! The asset is available now with 50% discount! :)
Can you explain briefly because I am beginner
Hi! Thanks for your comment. This asset is only about procedural animation so if you don't understand anything about animation rigging or IK pls check out unity official channel they have some very high quality tutorials about that. :)
@@lolopupka thanks for your precious time
@@brutalgamer1507 Hey the Asset is finnaly out if you are still interested in it go check it out :) u3d.as/30gp
i cant buy it pls give all scripts
did they give you the scripts?
@@beluga6788 no they're begging them to give them a paid item for free
sis got me da @BO'OH'OH'WO'OH
Hey the Asset is finnaly out if you are still interested in it go check it out :) u3d.as/30gp
@@lolopupka ill think about it, dont want to do my first investment in any asset yet, still saving lol. Procedural animation has always been my favourite subject, ill keep it in my wishlist for now.
@@kalpolproductions8558 Hey! The asset is available now with 50% discount! :)
soo now i hate you (I would like to buy it, but think of it as if you are like paying $300 here, my country is in that situation :D)
I'm really sorry to hear that unfortunately I can't do anything about it. Maybe try logging with VPN to get a different price but Idk. I could notify you whenever it will be on sale. Hope it will get better!
@@lolopupka nothing bad i just code myself xd
Promo sm 🤗
Half way through the video before I realized that this only works with a paid asset, this is a little bait and switch.
Well yeah this video is called procedural animation tutorial but to be fair the first words of the video are "today I'm gonna teach you how to use my procedural animation asset"
What a scummy way to try to shill your asset to people. If we will need your PAID asset halfway through the video at least mention that at the start.
I'm sorry that's was unclear but to be fair literally in the first sentence she says "I'm going to teach you how to use my procedural animation asset"
@@lolopupkano she doesnt, there is no “my”
Hey im using this tutorial but i cant find the procedural animation script? I was wondering if you could help thanks!
Hey! This is tutorial on my asset in the asset store, this is not a free plugin unfortunately. You can check it out if interested anyway. Link in the description :)
@@lolopupkaOh well um tight on money right now so i cant get it sorry
@@HubbyBubbyBunsNo problem, I can notify you if it will be on sale :)
@@HubbyBubbyBuns Hey! The asset is available now with 50% discount! :)