public virtual void RecalcSelfMass() { if (AutomaticForceCalculatorOption != AutomaticForceCalculatorCallerEnum.Never) { _selfMass = RopesAttachedComponent.GetSelfMass(); } }
public virtual void RecalcOthersMass() { if (AutomaticForceCalculatorOption != AutomaticForceCalculatorCallerEnum.Never) { _sumOfOtherObjectsMass = RopesAttachedComponent.GetSumOfOtherObjectsMass(); //If Not Attached to Ropes Add force equal own Mass to not stay in Air if (_sumOfOtherObjectsMass == 0) { _sumOfOtherObjectsMass = RopesAttachedComponent.GetSelfMass(); } } }