- Home /
Skinned Mesh Renderer Replace Mesh + Material with script
Alright guys, I have been doing a lot of toying around with javascript and such and I really am having a tough time coming up with this simple script to work properly. Me and several of my friends are making a game unfortunately we lost our only coder so we're trying to learn lol. It's a little late I know, but we already started :( Here's what I need help with. My character that I am using is an old Oblivion customized character. Hes fully redone so it's no longer copyrighted (I already looked into it with a lawyer) Also, I used their Skeleton.nif and parented it to the customized mesh so that he is fully weighted and animated. However, In Unity3d I am trying to equip armor but the way I want to do it so that I can use minimal Heiarchy space, is using a script. One that simply states "if ironCuirass.equipped = true" then SkinnedMeshRenderer.Mesh = Upperbody.0 (IronCuirass) now I also want it to change the material. If anyone can come up with any ideas or maybe even a script with the hard copy done and I'll just implement my information accordingly, That'd be much obliged! Thanks in advance!
Your answer
Follow this Question
Related Questions
TerrainLightMapper isisn't a member of Unity Editor 3 Answers
How to level different sprites to one height 0 Answers
Cannot Create a new project 0 Answers
hi...i am having this problem can u help me please 1 Answer
Wall detection using Rays 1 Answer