Set proper weight for rigid bodies.