Hey, I'm having a **ll of a time trying to split a value between to objects.
If one object weighs 100 and the other object weighs 100, then my value should get split evenly between them.
If one object weighs 200 and the other object weighs 100, then the 200 weight object gets 25% of the value and the 100 weight object get 75% of the value.
How do I do this?
All help is appreciated.