Hi there! Great tutorial! I am new to 3ds max and unity and would like to try out your tutorial however the link to your character animation script does not seem to open up for me for some reason =( Do you think you can fix it? Thanks for your help
@nicholaslky The copypaste site still works for me, and I've deleted all of my cookies, so it's not that it's a ghost (a ghost, as in, it's not there, but I can still see it). What you should do with the script/code is to copy the code from the webpage, and then paste it in a new Javascript (.js) in your Unity engine, the site doesn't contain the script itself.
@MindOfCreativity video is a good year old and the Unity engine may have updated what you're allowed to import (Unity has updated since then), if it isn't due to updates, then I don't know what it is; I haven't worked in it in a while, so I don't know what's still working since then, yet.
@MindOfCreativity There's a tutorial on the main Unity website on how to make a simple platformer (both 2D and 3D), I do however have some spare code that when you touch an enemy you bounce backwards (like a retro game from the Nintendo Entertainment System/NES). Bouncing on an enemy's head is something you'll hafta solve yourself if you want to do that though.
@MindOfCreativity Ahh, I see. I never really used the tutorial and actually made my own from scratch. If I were to make a tutorial off of my incomplete game, I think I'd confuse more people than help ^^;;
@NexusCool1 Importing animations, no, but to make them run IN Unity, you do need code. I'm not much of a programmer myself (heck I absolutely loathe coding), but without any bits of code telling your model to animate, it will either do nothing or play your animation(s) once/continually.
Right ok I managed to sort the problem I had out. But now When I press keys my animation doesn't do anything, he just moves forwards and backwards with no limbs moving.
So back to square one, eh? (Character moves but he doesn't animate) Try setting your animations to the point where your character plays them all at once (0-Whatever number of frames your animation takes) and set it as idle. Don't touch the movement keys while play-testing, and if your character does animate with that setting, then it means you need to pick different values for your beginning and end of animations. Other than that, I can't think of anything else the problem could be.
@trikitiger Yeah I guess so lol. The animations work when I just import my character and set up his frames and play, I can see him animate (He doesn't loop though as I hadn't used your script) But when I use your script he doesn't do anything. I've made sure all my animations are spelt the exact same as all the ones in the sript aswell.
@socialapocalypse With the code being at fault, it could be plenty of things. My best suggestion (being that it's the code that I typed and most likely nothing you did) is to look at the animation codes in the Unity Help files (online), and script it out manually. Or double-check every line while scripting. Code is fickle and one wrong variable or slight mistake can easily bring down everything.
@socialapocalypse It shouldn't, but I couldn't post the entire link because Youtube doesn't like links in comments. Use it as a google search instead.
I followed your tutorial to the T, even putting all the animations in one file. So once I have done everything and I got to play my game, my character animates but not like you think. He rotates but doesn't actually move arms and legs, even though when I animated him he ran.
Hey Dude, love the vid, i learnt a lot from it, however I am having a perculiar issue with it at the moment, whenever I import my animated character, i can't see it until i check off "Play Animation Automatically", would you have any idea why this is?
@MrSt3ve Now, I myself haven't had this problem, but it may have something to do on how you export your character. I had a similar problem with my character having missing parts because of how I linked and exported my character (UnityAnswers: Missing Limbs no links allowed... FU-Youtube) I'm not positive if it relates to your problem, but it may help; as something to go over and double-check.
@NovaPulse Yes, I find it easier to have all of my animations in one file and Timeline. If you look at a World of Warcraft model, they do the same thing. It's much easier (and faster!) for code to play certain parts of your animation rather than trying get get your animation to play hundreds of different animations from hundreds of different files.
@trikitiger oh ok, that does sound easier to manage. I also did more research on it from the unity website, and they suggested the same thing when importing animations to unity. I just learned how to rig my character but now I have to learn how to animate it. I have watched countless tutorials on the basics of unity so far as well.
Hi there! Great tutorial! I am new to 3ds max and unity and would like to try out your tutorial however the link to your character animation script does not seem to open up for me for some reason =( Do you think you can fix it? Thanks for your help
nicholaslky 6 days ago
@nicholaslky The copypaste site still works for me, and I've deleted all of my cookies, so it's not that it's a ghost (a ghost, as in, it's not there, but I can still see it). What you should do with the script/code is to copy the code from the webpage, and then paste it in a new Javascript (.js) in your Unity engine, the site doesn't contain the script itself.
trikitiger 6 days ago
@nicholaslky If you're still having problems with the site, I can quickly send you the clump of code.
trikitiger 6 days ago
The FBX importer component doesn't show up!
MindOfCreativity 1 week ago
@MindOfCreativity video is a good year old and the Unity engine may have updated what you're allowed to import (Unity has updated since then), if it isn't due to updates, then I don't know what it is; I haven't worked in it in a while, so I don't know what's still working since then, yet.
trikitiger 1 week ago
@trikitiger Oh I found it out, you have to press on the object in the Project tab, not the heirarchy.
+ Could you give us a tutorial on how to make a simple platformer?
MindOfCreativity 2 days ago
@MindOfCreativity There's a tutorial on the main Unity website on how to make a simple platformer (both 2D and 3D), I do however have some spare code that when you touch an enemy you bounce backwards (like a retro game from the Nintendo Entertainment System/NES). Bouncing on an enemy's head is something you'll hafta solve yourself if you want to do that though.
trikitiger 2 days ago
@trikitiger That tutorial has awful controls. You can't control your character properly when you're in the air and the animations don't work either.
MindOfCreativity 2 days ago
@MindOfCreativity Ahh, I see. I never really used the tutorial and actually made my own from scratch. If I were to make a tutorial off of my incomplete game, I think I'd confuse more people than help ^^;;
trikitiger 2 days ago
3:12 u r fucking freak xD
OLKCREWXD 1 month ago
do i need coding stuff for impoting animation? well i can model and animate but coding ...that just is not for me
NexusCool1 1 month ago
@NexusCool1 Importing animations, no, but to make them run IN Unity, you do need code. I'm not much of a programmer myself (heck I absolutely loathe coding), but without any bits of code telling your model to animate, it will either do nothing or play your animation(s) once/continually.
trikitiger 1 month ago
Right ok I managed to sort the problem I had out. But now When I press keys my animation doesn't do anything, he just moves forwards and backwards with no limbs moving.
socialapocalypse 5 months ago
So back to square one, eh? (Character moves but he doesn't animate) Try setting your animations to the point where your character plays them all at once (0-Whatever number of frames your animation takes) and set it as idle. Don't touch the movement keys while play-testing, and if your character does animate with that setting, then it means you need to pick different values for your beginning and end of animations. Other than that, I can't think of anything else the problem could be.
trikitiger 5 months ago
@trikitiger Yeah I guess so lol. The animations work when I just import my character and set up his frames and play, I can see him animate (He doesn't loop though as I hadn't used your script) But when I use your script he doesn't do anything. I've made sure all my animations are spelt the exact same as all the ones in the sript aswell.
socialapocalypse 5 months ago
@socialapocalypse With the code being at fault, it could be plenty of things. My best suggestion (being that it's the code that I typed and most likely nothing you did) is to look at the animation codes in the Unity Help files (online), and script it out manually. Or double-check every line while scripting. Code is fickle and one wrong variable or slight mistake can easily bring down everything.
unity3d.com/support/documentation/ScriptReference/Animation.html
trikitiger 5 months ago
@trikitiger Thank's but that link you provided goes straight to 404.
socialapocalypse 5 months ago
@socialapocalypse It shouldn't, but I couldn't post the entire link because Youtube doesn't like links in comments. Use it as a google search instead.
trikitiger 5 months ago
Great Tutorial, but I'm having a problem.
I followed your tutorial to the T, even putting all the animations in one file. So once I have done everything and I got to play my game, my character animates but not like you think. He rotates but doesn't actually move arms and legs, even though when I animated him he ran.
socialapocalypse 5 months ago
@socialapocalypse That's another problem I've ran into when importing new animations into my Bubblez game (I would import a new set of animations).
After looking around, it sounds like it's an IK reading problem. I don't know how you animated your model, so hopefully this will help:
answers.unity3d.com/questions/63716/3d-model-from-maya-does-not-animate-limbs-only-ani.html
trikitiger 5 months ago
Hey Dude, love the vid, i learnt a lot from it, however I am having a perculiar issue with it at the moment, whenever I import my animated character, i can't see it until i check off "Play Animation Automatically", would you have any idea why this is?
MrSt3ve 9 months ago
@MrSt3ve Now, I myself haven't had this problem, but it may have something to do on how you export your character. I had a similar problem with my character having missing parts because of how I linked and exported my character (UnityAnswers: Missing Limbs no links allowed... FU-Youtube) I'm not positive if it relates to your problem, but it may help; as something to go over and double-check.
trikitiger 9 months ago
so you made all of your animations in one file and in one timeline?
NovaPulse 9 months ago
@NovaPulse Yes, I find it easier to have all of my animations in one file and Timeline. If you look at a World of Warcraft model, they do the same thing. It's much easier (and faster!) for code to play certain parts of your animation rather than trying get get your animation to play hundreds of different animations from hundreds of different files.
trikitiger 9 months ago
@trikitiger oh ok, that does sound easier to manage. I also did more research on it from the unity website, and they suggested the same thing when importing animations to unity. I just learned how to rig my character but now I have to learn how to animate it. I have watched countless tutorials on the basics of unity so far as well.
NovaPulse 9 months ago
Thank you so much for this, exactly what i was looking for.
neverhoodyn 11 months ago