Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Detailed discussions about animation nodes #1850

Unanswered
macdroid53 asked this question in Q&A
Discussion options

I apologize, I realize this is not an issue with animation nodes. This is a use question. I'm looking for the right place to ask such questions.

I have watched a lot of videos and read the docs as I worked on animations.

But, I have not cracked how to make a reciprocating animation. Think a rack and pinion where the rack changes direction as the pinion continues to rotate in the same direction.

I have not found ant videos with similar animation and I've asked in several online forums.

Is there a recommended place for discussion of the use animation nodes?

Any pointers or suggestions would be appreciated.

You must be logged in to vote

Replies: 3 comments 4 replies

Comment options

You can use the Q/A section in Github discussions. I converted your issue there. Can you share a reference to what you are trying to do?

You must be logged in to vote
1 reply
Comment options

sorry, don't use github that much never knew about discussions.

Thanks.
I'm on a phone ATM, I can post images tomorrow.

Comment options

This image shows what I've got so far. The pinion is the driver and the yoke is supposed to go up when the pinion revolves CW and stop after the last tooth of the pinion disengages. Then the pinion continues CW and engages the other side of the yoke and the yoke should move down to it's other disengage point.But, I haven't figured out how to get the yoke to reverse. (It may be I don't yet know the extent of the tools available in animation nodes. It may also be that the animation could be driven by frames and those control both the pinion and yoke. I'm looking for any input, as I'm new to animation nodes.
Peek 2022年04月21日 08-38
)

You must be logged in to vote
0 replies
Comment options

The easiest way to do that would be to use a chain of animate nodes. See here for more information.

Essentially, we delay the input by 90 degrees (1/2 PI), then animate it from 0 to 1 for 90 degrees, then delay it again for 90 degrees, and finally animate it in reverse from 1 to 0 in 90 degrees. That means it will start at zero and stay zero for 90 degrees, then increase to 1 for the duration of 90 degrees, then stay at 1 for 90 degrees, then finally decrease to 0 in 90 degrees. We also repeat that for 360 degrees (2 PI) to make this animation infinite.

20220422-234244.mp4
You must be logged in to vote
3 replies
Comment options

I believe I've duplicated that but the Result of the second animate does not change.
Peek 2022年04月23日 09-42

Comment options

Do not write to Blender and read from it again in the same node tree. The rotation of the Alpha object is not guaranteed to be correct here.
Just use the output of the top tree in the bottom one as well.

Comment options

Edit: I figured out what I had wrong. I had inverted the value of the top loop to make the rotation CW. Duh. Sorry.
I guess I'm more of a clueless noob than even I think...to me "the output of the top tree in the bottom" means this and I get the same, no change in the Result output of the first Animate Float.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
Converted from issue

This discussion was converted from issue #1849 on April 21, 2022 19:48.

AltStyle によって変換されたページ (->オリジナル) /