2
$\begingroup$

Okay, so I am creating a countdown using animation nodes, where the text rotates along the Y-axis. The goal is each time the text is rotated 90 degrees I want the object to flip along the X-axis (scale x * -1). I have set it up to where the numbers countdown every 25 frames and are also rotated to a 90 degree angle every 50 seconds starting at frame 25.

Here is what I have: enter image description here

Here is the goal: enter image description here

Here is my current animation nodes setup: enter image description here

$\endgroup$
  • $\begingroup$ So you need an input to the Object Transform Scale vector that swaps between (-1,1,1) and (1,1,1) every 50 frames? $\endgroup$ – Ron Jensen Aug 29 at 18:20
1
$\begingroup$

Animation Node Tree

Once I recreated your node tree I realized what you want is for the text to always read forward. To accomplish that I used the sign of the cosine of your rotation angle output, which is negative when the text is rotated away from the viewer, and used a 'copy sign' math node to build the scale vector.

| improve this answer | |
$\endgroup$
  • $\begingroup$ This worked thank you so much! $\endgroup$ – AnthonyWeir Aug 30 at 15:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.