How can I perform a modulus(%) operation inside node editor?

How can I perform a modulus(%) operation inside node editor?

Anonymous
Not applicable
4,629 Views
5 Replies
Message 1 of 6

How can I perform a modulus(%) operation inside node editor?

Anonymous
Not applicable

As the title says, and no coding please, but an expression is ok though_(:з」∠)_

0 Likes
Accepted solutions (2)
4,630 Views
5 Replies
Replies (5)
Message 2 of 6

mspeer
Consultant
Consultant

Hi!

 

fmod

0 Likes
Message 3 of 6

Anonymous
Not applicable

well, I didn't find such node in 2018, maybe it has been removed?

I already wrote some expressions instead though_(:з」∠)_

0 Likes
Message 4 of 6

mspeer
Consultant
Consultant
Accepted solution

Hi!

 

"fmod" is the MEL command you can use in an expression.

0 Likes
Message 5 of 6

Anonymous
Not applicable
Accepted solution

Oh, I didn't know, but I use the operator "%" more often. I didn't know how to write an expression, so, no more problems_(:з」∠)_

0 Likes
Message 6 of 6

monkeyloo
Explorer
Explorer

Maya really should add an modulus utlility now though, I could use that.
I found an external plugin on github but I am not allowed to use external plugins for my current project.

 

0 Likes