https://drive.google.com/file/d/0B_rNU8P3lqBqWFRQSkNYbUdEWE0/view?usp=sharing
This is a Unity game project file. It contains special scripts, that can be used as a basis for a character customization system. You are free to use this as long as you give credit to me (Ramaraunt).
This asset contains a script made by Masterprompt. Taken from this forum thread:
So I have many many models. Each has a skeleton, material, etc. I want to take some of these and combine them into one so I can apply animation commands to one rather than many (and so they stay in sync). I have one mesh, say MeshA with the...
Reading time: 36 mins 🕑
Likes: 83 ❤
You can use this script without giving credit to me, as I didn’t make it.
Dameon
December 22, 2016, 8:44pm
2
I’d recommend you have people inherit from a base class rather than having them copy/paste code as a basis for your system.
Good idea, ill do that. I didn’t even think of that.
Yeah, so I just got it to build my first actor!
Can’t seem to get the materials to work yet, but otherwise its flawless. Its showing no compiler error, but the materials wont show.
EDIT: Here is the class all mission templates should extend from so far. Tell me what you think is wrong with the materials.
Here is the actor script.
And here is the mission template that is used to spawn the character.
So the problem was, I needed to apply the material to the child object.
Got it working now, fully textured! time to test animations now!
After some serious animation troubles, this guy is finally breathing!
Released! It may be a bit cluttered, but the video should explain it well. Hope this is useful!
Happy Holidays!
Ramaraunt