Hi there, I want to be able to iterate the rotation of an object by 45° each time a midi note is triggered. In simple terms, it looks like this.
The first midi note is triggered from 0°, the object rotates 45°, rests in this position and then the next time the midi note is triggered the midi note continues from its 45° position to 90° and so on until it reaches 360° repeating the cycle in 45° increments.
I have not been able to figure this out and would be grateful if anyone could share any approaches I could use to achieve this effect.
Thanks.