PDA

View Full Version : Refrence model mystery and constraints too!


Brettzies
04-15-2005, 08:28 AM
I'm having to animate on a project using XSI, but this is the first time I've used the program. I've run into a very strange problem which maybe someone has seen before and knows the solution...I hope.

Here's the situation. I have several creatures attacking a character, about 10. Everything is a refrence model, so there is one main character model and ten creatures from the same model. Each model is attached to a null so I can globally place them. In a good setup, this null or control would have been in the model, but it was not, so I added something I could use and adjust. I have no control over the models btw.

Some of the creatures need to bite and attach themselves to the character, inherting the characters motion since he is flailing around. To do this, I am using a pose constraint on the creatures and blending it to zero when they are off, and one when they are on. The rest are just moving about and attacking.

It all appears to work fine. I even make playblasts with the animation showing them jumping and attaching themselves. In other words, it works, there are no problems. So I save and keep going. However, when I reopen the progam and load the scene back up, the creatures that were constrained are not in the correct location. It is as if they have been offset. They still have the animated constraint, but they are not in the right location. Moving the global placer null has no effect for the constrained section either.

Here's the kicker. If I delete the constraint, reposition the global placer, do not reapply the constraint, save, close program and reopen reload, the creature will not be where I put him. Every other creature is in the right location, the ones who have never been constrained, but this one seems to be permanently broken. He's not even constrained anymore but he is still being offset!

I can fix this all I want, and it will look fine in the program. But once I close the scene and reopen it, it will be broken. This is very frustrating because I have no idea how to fix it or why it is even doing this.

The refrence models have not changed, they are the same files as when I started.

Any thoughts or insights would be greatly appreciated.

Brettzies
04-16-2005, 01:09 AM
Someone gave me an answer on another forum, but if this helps anyone in the future with similar situation, here it is:

...........................................................
You cannot constraint a Ref Model object (not even a model object) to something else. XSI will behave the way it does now if you do so. You can only constraint an object that is under the parent model object to something else.

Here's some guideline of a sample model/rig and what to constarint

-Model (can't constarint this)
----ScalingFactor (could constraint this but not wise)
-------GlobalSRTNull (could constraint this but not wise cause you want to be able to reset your GlobalSRT)
----------GlobalSRT (this is what you should constraint)
-------------Rig
-------------Meshes

Nicolas Langlois-Demers
3DTD2
Hybride
...........................................................

I was parenting the Model to a Null I made, and constraining that Null. It appears to work, but I guess it does not. Luckily there were some nulls below the "Model" that I could use one as a constraint. Hopefully it won't break again....seems to be working.

Thanks to Nicolas Langlois-Demers, VictorG and Robert Moodie.:thumbsup:

CGTalk Moderation
04-16-2005, 01:09 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.