My Goal is a continuous rotation of an object in Animation Nodes around on the z-axis that can be controlled via a value in the way that 0 means no rotation and 1 means certain speed. -1 would be reverse.
Increment values, reassign values?
My understanding of AN got tested in this case really hard. First of all the Rotation Input by default doesn’t use the Object Transform Output as a new Input, is there a way?
Second of all is there a way to “store” values or “reassign” them to get this certain kind of behavior.
My First idea was to simply do it with a time_info but multiplying the time_info, logically prouces reverse motion on curve descend. Demo File is 2.81
Comparison to Unity C#
Coding this behavior in unity and c# is easy, because of its incremental fashion: Every tick I can use the current rotation as new input and decide whether I want to add or subtract a certain amount. In AN the linear Time_Info Curve gets multiplied and clinched as a whole.
help would strongly be appreciated! :)