My code needs to combine both setPosition and setNormalizedPosition. I realized that position and normalizedPosition are two different variables and this has caused quite a lot of problems (e.g. after setting a new position getNormalizedPosition() still returns the old one).
I was wondering if there is a good way to deal with this because it seems to me that it would be simpler to have just one variable and transform the other one when required. I understand that two variables is faster, but keeping the one position for a node in two different variables is likely to add lots of errors.