Genete! Shape ordering script question...
Posted: Sat Aug 25, 2007 10:07 pm
I have a situation that involves teeth and a big tongue.
I would like to sort these shapes (tongue and teeth) based on a bone's position or scale and reorder the teeth shapes and the tongue shape so the shapes are in the correct order based on the head turn or on the position or length of the tongue.
For instance if a tongue bone is scaled past a certain point it would be outside of the mouth and would cover some of the teeth and the teeth and tongue shapes would need to be reordered.
You mentioned the possibility of creating a "universal" shape order script?
Right now I had to "over complicate" my layers by creating several extra teeth layers and use layer reordering to allow the tongue to work properly. It isn't working too well and I could simplify this and have the tongue and teeth on the same layer and just reorder those shapes.
Just wondering if you have any thoughts. In the meantime I may look at that shape reordering script to see if I can just "hack" some of it for my needs.
It would be fairly similar to how the shape reordering is done in the 3D script set you did... the difference is I want to drive this using the current rig in a much simpler way. There are only a few teeth shapes involved (fangs and front teeth as a "unit") and one tongue shape.
-vern
I would like to sort these shapes (tongue and teeth) based on a bone's position or scale and reorder the teeth shapes and the tongue shape so the shapes are in the correct order based on the head turn or on the position or length of the tongue.
For instance if a tongue bone is scaled past a certain point it would be outside of the mouth and would cover some of the teeth and the teeth and tongue shapes would need to be reordered.
You mentioned the possibility of creating a "universal" shape order script?
Right now I had to "over complicate" my layers by creating several extra teeth layers and use layer reordering to allow the tongue to work properly. It isn't working too well and I could simplify this and have the tongue and teeth on the same layer and just reorder those shapes.
Just wondering if you have any thoughts. In the meantime I may look at that shape reordering script to see if I can just "hack" some of it for my needs.
It would be fairly similar to how the shape reordering is done in the 3D script set you did... the difference is I want to drive this using the current rig in a much simpler way. There are only a few teeth shapes involved (fangs and front teeth as a "unit") and one tongue shape.
-vern