How to rotate ov back and forth

requests

#1

Can someone show me a code of how to rotate overlays back and forth then loop it INFINITE times?

It’s for a crooked light overlay in a abandoned room I created.

<-- like that one


#2

Hello @Marvin_YT_Episode! This is Sydney the Moderator.

This topic has been moved from Community Promote Your Story to Creator’s Corner Directing Helps and Tips since it involves scripting/coding. If you have any questions, feel free to PM me and make sure to check out our Forum Tutorial for more info about where to correctly create topics. :wink:

Thanks for reading and have a good day :sunglasses:


#3

For this overlay I think you first want to have it rotated at about 45 before you do the loop, try this…

@overlay OVERLAY rotates 45 anchor point .5 1 in 0
& overlay OVERLAY rotates -75 anchor point .5 1 in 1 THEN overlay OVERLAY rotates 75 anchor point .5 1 in 1 loop infinite times

I’m not 100% sure that’ll work lol and you may have to adjust the rotation number a bit. Let me know if it works or not :sweat_smile:


#4

Thank you, I’ll try it right now! :smile:


#5

Thank you :kissing_heart: