Puzzle like Horizon Zero Dawn and Watch Dogs 2?

Hello guys!!

Do you know those puzzles that to solve need to rotate a series of “keys” to allow the “flow of energy” to go in the right direction?
Yeah. Anyone have any idea how I can do something similar on the Unreal Engine?

Any help is very welcome!

Thanks a lot!