For me it's part of the fun of game dev where you have to think about how things work to make something work.
Some of the problems I've solved in my own games, I've taken the problem back to its basics and worked through the problem in a note or a spreadsheet to catch all the interactions and find an answer. Maybe not the cleanest, but an answer that works.