Notifications
Clear all

[Closed] Noise in Expose Transform Local Euler

Greetings

I’m setting up some new slider based rigs, and am getting some unexpected values.

In a nutshell I have a slider being animated with some keys which does the following:

spinner_podRotate.value = -(quattoeuler2 pod.node.transform.rotationpart).z_rotation

The screenshot is of the resultant expose transform local and world euler values. I was hoping to use the local euler Z data as the basis for some output (as there is local rotation applied to the object I hoped to take into account without extra code) but as you can see it is very noisy compared to the sort of curve I’d expect (world Euler Z track)

Any thoughts?

Cheers

Mikie

3 Replies

Are the reference node and exposed node sitting at the exactly same place on default? it seems like it could be your equation that is wrong ( I did not take a look at it ) but if the worls euler seems to be smooth and the local Is not i would guess that the reference node is tweaking out .

Could you explain a little better your set-up so we can have a better IDEA of what you are trying to do?

yes, they are sitting over top of each other. Is that a problem?

I’ve worked around it for now by just using the world value, as the object I’m exposing in this case is sit sitting statically, rotating. However exposing the local rotation is meant to cover cases when the object is animated as well…

$pod_1.transform.row1
[1,-3.25841e-007,-5.6426e-007]
$pod_1.transform.row2
[3.25842e-007,1,1.83185e-006]
$pod_1.transform.row3
[5.64259e-007,-1.83185e-006,1]
$pod_1.transform.row4
[-6241.48,-265.135,13375.3]
$Pod_1.position
[-6241.48,-265.135,13375.3]
$Gimbal_5.transform.row1
[1,-2.51336e-007,-5.6426e-007]
$Gimbal_5.transform.row2
[1.91732e-007,1,1.83185e-006]
$Gimbal_5.transform.row3
[5.6426e-007,-1.83185e-006,1]
$Gimbal_5.transform.row4
[-6241.48,-265.135,13375.3]
$Gimbal_5.position
[-6241.48,-265.135,13375.3]

Thanks for the help!