r/blender • • 16h ago

Need Help! Expression to keep value within limit in driver so my cube can loop controllably. Mudolo operator

Does anyone knows how to implement modulo operator in driver math expression so my cube can move from point A to B then instantly to A.

The reason i'm looking for modulo operator is because i want to control that cube instead of letting it move on a frame.

Plus i dont want to cycle the animation

0 Upvotes

3 comments sorted by

4

u/acockshott 15h ago

%

1

u/Jackhenrey124 6h ago

Ok it worked but how can i make it offset so i can have like 3 cubes moving after another. Currently the expression is #frame % 25. For main cube now i want the 2nd one to be ahead and other to be beforehand

1

u/AutoModerator 16h ago

Please remember to change your post's flair to Solved after your issue has been resolved.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.