Hey Rama, thanks for the input!
That’s quite similar to what I had attempted but I encountered a problem with both my solution and yours - it’s causing my game to crash:
With _C being defined as:
I’ve been trying to work out why that is but no solutions as of yet, any input?