Control Rig Rotators/Eulers

Hey

I noticed that in 5.6 ToRotator and FromRotator are somewhat deprecated.

They are still there but seems like they are hanging on the thread.

When i press update node it doesn’t really update them to anything meaningful just kinda nonfunctional little square.

I need to break my rotation into 3 axis - XYZ or Pitch Roll Yaw…

I know quaternions are more powerful but i am trying to replicate my maya setup with driven keys built on eulers.

What are the alternative or updated nodes? I need to switch back and forth betwen Quat and Eulers without too much headache.

It was working perfectly before.

J.

Hey there,

Do you have an image of your setup? Are you using ToEuler?

[Image Removed]

Hey Dustin

Nice to chat with you again :smiley:

So the way i have it now is this:

[Image Removed]It works but the node says outdated - if i upgrade the node it breaks:

[Image Removed]

Mind you those nodes dont show in the dropdown - i am only generating them cos before i had a python script that did that and i am trying to update it to match with 5.6... So the name of the node is:

unreal.RigUnit_MathQuaternionFromRotator

and

unreal.RigUnit_MathQuaternionToRotator

They seem to work fine - but i am concered they will disappear in the next version and then im toast :stuck_out_tongue:

I see the nodes u posted there…

So that will make me a vector instead of rotator huh? Are rotators being deprecated?

If i were to go with a vector - can i somehow make a Quat from that vector?

The goal for me here is to keep it as simple as possible and reflect what happens in maya.

Cheers

J.

Sweet man i had no idea about the cast node! That changes things!

Thanks a lot!

No problem, happy to help. I recommend updating your nodes as you see things marked as (Outdated), making sure things stay functioning for the future, but also to make that you stay up to date with any workflow adjustments.

This one is slightly more complex in node structure, but is more true to code.

Well, the answer is a bit more complex. Yes, that particular node was deprecated; rotators are not deprecated. We changed the user experience to the cast method for some flexibility and flow reasons. Many of the RigUnit_Math nodes have been moved into FRigVMFunction_Math style nodes.

That said, nodes that are marked as (Outdated) can be resolved to what their new format should be with a right-click method.[Image Removed]

But in terms of what you’re trying to do, you can do that. But you would use the Cast nodes to do so. Looking like:

[Image Removed]Which allows you to click on the output pin and choose what type of output you want.

[Image Removed]Then, you can make your rotator

[Image Removed]

Hopefully this helps, but you should be able to recreate 1-1 with your setup in Maya. You can use rotators, quats, eulers, whatever makes the most sense for you.