Match Rotation Problem


#1

hi!
has anybody faced this problem in SI2010sp1?
match rotation seems not to work when the object is keyframed.

let’s say i have null1 and null2.
null1 is animated and i want to match it’s rotation with null2.
when i run the command it doesn’t get the global rotation of null2, it keeps it’s current value…

if i also try to copy-paste,let’s say, the global rotation x from null2 to global rotation x in null1 (in the transform panel) the result is …additive!

no problem at all if the object i want to match it’s rotation is not keyframed!
also note that there is no problem in match transform and match scale…

thanks in advance

ps: if someone wants to try it
-create 2 nulls, set a keyframe in null1, give a rotation to null2
-match rotate null1 to null2
-null1 “flashes” as for a fraction of second it “rotates” to null’s2 value, then returns to it’s current value…


#2

Yes this is known and logged.


#3

The Match Rotation issue is not something new in 2010 SP1.
Match Rotation had the same limitation in previous versions.


#4

the truth is that this limitation is something someone might never face, as it appears under this particular condition (keyframed object)…
also it can be bypassed with a simple script (get/set global rotation values)

thanks a lot both of you for your response!


#5

Not 100% sure if this is still correct, but “match whatever” are fairly flawed in nature rather than buggy, as they take a shortcut of creating a constrain and then deleting it, so if something is keyframed at constrain deletion time it gets refreshed to its keyframe position.
It’s also nasty in general when you don’t want a constrain to be introduced, and it doesn’t support, for the same reason, child compensation.

Best way to work around it is by rewriting the match stuff to be honest. Never been that nice to begin with compared to how it should really work options wise.


#6

All still true.

A Match Translation script was actually covered in one of the old tutorials: “Tutorial 15: Building Custom Tools” available here: http://softimage.wiki.softimage.com/images/2/22/Tut1.pdf

It’s based on a tutorial written by Matt Lind. The original version by Matt matched orientation and scaling as well as translation and also had more information about error checking, best scripting practices, etc., but unfortunately all that was removed for inclusion in a more advanced set of tutorials that never appeared. But it can still give someone a head-start writing their own match transformation script.


#7

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.