Animating edited models

shyam-appymonkeys posted this 03 May 2019

I am trying to make a character editor and I need to be able to edit the model in run-time and still keep the animations working.

So is there a way to rig the models and then animate them(using either blender or Mecanim)?

Or is there a more elegant way of doing this?

Order By: Standard | Newest | Votes
GarethIW posted this 03 May 2019

I guess this depends on the type of animation you want to do while still allowing your characters to be edited.

With voxel animation, you are literally editing each animation frame like you would a cell-based 2D animation. That doesn't really work with allowing your players to edit their character, as their edits can't propagate down through all of the frames. Example: editing an outstretched arm is not the same as editing an arm down by your side.

I guess if you're looking to allow your players to edit, you're probably going to want to look into more traditional animation with Mecanim, where each part of the body is a separate volume and rigged together.

I don't have any magic in PicaVoxel for this - you will have to create the rig yourself where each body part is a Volume. You could still allow this to be editable by casting a ray out to detect which volume is being clicked/pressed on, and then changing the voxel colour at that point. There are quite a few topics here on runtime editing, by the way.

shyam-appymonkeys posted this 03 May 2019

I figured that's what happens if I use voxel animation. I don't think I will be using voxel animations now, and I did find the topics on runtime editing.

So, I need to make a rig(or a skeleton, it seems) and then parent multiple voxel volumes to it? That seems like it would work.

If you have any other ideas on how I can accomplish this with Picavoxel, I'm all ears.

Last edited 03 May 2019

Our 137 members have posted 530 times in 129 discussions