I’m currently working on import and export for The Movies .msh format and I’m a little stuck on constraints. The data I have available is in the following format:
For each bone I have the head co-ordinates and 3 sets of offsets that give the tail co-ordinates for rest position, min position and max position.
The closest constraint I can find is the action one, but I can’t seem to find current documentation on the “Local” option to see if that will let me constrain the tail based on the bones own head (or rest) position.
In psuedo code, I need to do something like:
(head_x + x_min) <= tail_x <= (head_x + x_max)
Any pointers would be much appreciated.
Current status of the import and export routines is at http://www.tmws.themoviesplanet.com/forum/viewtopic.php?t=617
The completed routines will be released under the GPL license.