using UnityEngine;
namespace NWH.Common.CoM
{
///
/// Represents object that has mass and is a child of VariableCoM.
/// Affects rigidbody center of mass and inertia.
///
public interface IMassAffector
{
///
/// Returns mass of the mass affector in kilograms.
///
float GetMass();
///
/// Returns the center of mass of the affector in world coordinates.
///
Vector3 GetWorldCenterOfMass();
///
/// Returns transform of the mass affector.
///
Transform GetTransform();
}
}