FoxMulder Posted January 1, 2015 Share Posted January 1, 2015 Hello everyone, I've got a problem using a Mixamo animated model in Leadwerks. The model is correctly exported in FBX and after imported in Leadwerks, however the engine can't find the textures and the animations don't work.. I'm using a TPS template and the character stays still in T position, even if it is correctly moving forward and backword on my key input. How can I activate the animations using key input? Thank you ! Quote Link to comment Share on other sites More sharing options...
YouGroove Posted January 2, 2015 Share Posted January 2, 2015 You must use a material using animated shader and animated shadow. Quote Stop toying and make games Link to comment Share on other sites More sharing options...
FoxMulder Posted January 2, 2015 Author Share Posted January 2, 2015 Hi YouGroove, thanks for your quick replay. Can you be more precise and provide a little explanation ? Thank you Quote Link to comment Share on other sites More sharing options...
YouGroove Posted January 2, 2015 Share Posted January 2, 2015 1 ) You must create a material and assing it to your character 2 ) On the material, when you choose a shader you must pick up one from the folder named "Animated" I hope it helps. Quote Stop toying and make games Link to comment Share on other sites More sharing options...
FoxMulder Posted January 2, 2015 Author Share Posted January 2, 2015 Thanks YouGroove ! I only needed to update the material ! Now it works correctly... However the animations do not work yet. Quote Link to comment Share on other sites More sharing options...
YouGroove Posted January 2, 2015 Share Posted January 2, 2015 You need to learn Lua and LE3 basics perhaps. Quote Stop toying and make games Link to comment Share on other sites More sharing options...
FoxMulder Posted January 2, 2015 Author Share Posted January 2, 2015 Thank you for the lesson YouGroove Quote Link to comment Share on other sites More sharing options...
Thirsty Panther Posted January 2, 2015 Share Posted January 2, 2015 Aggror has a video on animating models. http://www.leadwerks.com/werkspace/page/tutorials/_/artwork/animated-models-r116 Hope this helps. Quote Link to comment Share on other sites More sharing options...
FoxMulder Posted January 2, 2015 Author Share Posted January 2, 2015 Thanks Thirsty ! Quote Link to comment Share on other sites More sharing options...
FoxMulder Posted January 2, 2015 Author Share Posted January 2, 2015 Hi again, I was watching the video and I found many interesting infos about animation. However, even if my model has the correct animated shader and a animation test script attached, the animation doesn't work. Quote Link to comment Share on other sites More sharing options...
gamecreator Posted January 2, 2015 Share Posted January 2, 2015 Not sure but you may be having the problem described in this thred: http://www.leadwerks.com/werkspace/topic/10260-mixamo-model-animation-problems/ 1 Quote Link to comment Share on other sites More sharing options...
josk Posted January 2, 2015 Share Posted January 2, 2015 When you download from the mixamo site go to my purchases and download your character from there. Pick FBX(.fbx) for download and from the drop down box pick include skin. Then click download. The animated one has got to be downloaded from the my purchase section not my character section. When downloaded copy into your leadwerks model folder. In that folder now is your model There is also a sub folder that is called basic locomotion pack.fbm. (or whatever animation you added to your model on the mixamo site) Copy the PNG images from that into your model folder, Now your animations should work. double click your model to bring up the model viewer to check they work. Also go here, http://www.leadwerks.com/werkspace/topic/10369-fuse-software-from-mixamo/#entry76433 I had to constrain the animation root node on the loco pack using Ulitamate Unwrap (a very good investmment) http://www.unwrap3d.com/u3d/index.aspx Result before constrain Hope this helps. Also if you download the free walking zombie animation, attach the the SimleAnimation.lua script set Sequence to 0 and in the script draw bit relpace with this --self.entity:SetAnimationFrame(8,1,1) local t = Time:GetCurrent() self.entity:SetAnimationFrame(t/100.0*2.8,1,0) This should put you on the right track for other animations. 1 Quote Elite Cobra Squad Link to comment Share on other sites More sharing options...
FoxMulder Posted January 3, 2015 Author Share Posted January 3, 2015 Thank you everyone, I've managed to make the Mixamo models work ! I reinstalled the shaders from the .dae zip pack instead of the .fbx file and they perfectly work ! Thank you again ! Quote Link to comment Share on other sites More sharing options...
awgsknite Posted February 18, 2015 Share Posted February 18, 2015 @FoxMulder : Hey can you share your info on how you got them to work ? I'm stuck with my animations from Fuse that are looking like piles of meat wiggling ! pic below: Quote http://steamcommunity.com/profiles/76561197977392956/7977392956/ Link to comment Share on other sites More sharing options...
awgsknite Posted February 18, 2015 Share Posted February 18, 2015 nvm, i got it to work ! I just had to get the free locomotion pack onto the character off the mixamo site and from there i added the simpleanimation.lua to it and set it to 0 in the sequence in the editor basically doing what josk said : "attach the the SimleAnimation.lua script set Sequence to 0 and in the script draw bit relpace with this:--self.entity:SetAnimationFrame(8,1,1) local t = Time:GetCurrent() self.entity:SetAnimationFrame(t/100.0*2.8,1,0) and also remember to put all the textures and mat files along with the mdl file into a new named folder you create into the characters folder where the crawler folder is ! and bang ! your all set ! 1 Quote http://steamcommunity.com/profiles/76561197977392956/7977392956/ Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.