Rotate an actor random degress on overlap

Hi everyone

I am really struggling with creating an actor blueprint for a random rotation in values of 36 degrees. For example, the character steps into a box trigger which triggers the the actor to rotate in a random rotation of 36 degree increments, all the way up to 360 degrees.

Can anyone help at all, please?

Multiply 36 with a random value from 1 to 10(Random Int in Range) and add it to actor rotation when the actor overlaps the trigger?

Hi, thanks for the quick reply!

I’ve attempted to follow but I’m obviously going wrong somewhere. Do you have a blueprint screenshot example how it should look?

Remove that ADD array node and use an Add Actor Rotation function instead of Set Actor Rotation. Right click on rotation value and Split Struct so that you can access the direction you want to rotate the actor. Plug your multiply result to the axis you like and that’s it. Here is a screenshot:

Superstar!! Thank you so much!