namespace Content.Shared.Wall; /// /// This component enables an entity to ignore some obstructions for interaction checks. /// /// /// This will only exempt anchored entities that intersect the wall-mount. Additionally, this exemption will apply /// in a limited arc, providing basic functionality for directional wall mounts. /// [RegisterComponent] public sealed class WallMountComponent : Component { /// /// Range of angles in which the exemption applies. Bigger is more permissive. /// [ViewVariables(VVAccess.ReadWrite)] [DataField("arc")] public float Arc = MathF.PI; /// /// The direction in which the exemption arc is facing, relative to the entity's rotation. Defaults to south. /// [ViewVariables(VVAccess.ReadWrite)] [DataField("direction")] public Angle Direction = Angle.Zero; }