Evaluating rotations mlookat(up)? explodematrix?

Hey everyone,

I see that touch supports mlookat, but does anybody know how I can define an up vector and rotation matrix to solve my rotations in touch?

The idea is that I have four nulls in space root1, goal1, upVector1, and solve1 now I would like to find the rotations for solve1 in any rotation order.

This is an example of what I would use in Houdini:
explodematrix(mlookatup(vtorigin(“”,“…/root1”),vtorigin(“”,“…/goal1”),vtorigin(“”,“…/upVector1”)), “SRT”, “XYZ”, “RX”)

I’m trying to do this in a script.

Is there a way to create an expression like the one above in touch?

-Mark

Don’t think there is an easy way to do this just now. I’ll add the mlookatup expression to Touch. It’ll be in the next build.

Thanks Malcolm!
That would be awesome!

-Mark