weighted
Scale force's output by a fixed weight. Composes with any other factory:
dynamics.addForce(weighted(separation(radius = 3.0), weight = 1.5))Content copied to clipboard
Equivalent to baking the weight into the factory's parameters when feasible; useful when you want to retain the canonical factory call and adjust strength separately.