2022-05-27 02:41:18 -05:00
|
|
|
using Robust.Shared.GameStates;
|
2020-05-24 11:40:49 +02:00
|
|
|
|
2021-06-09 22:19:39 +02:00
|
|
|
namespace Content.Shared.Movement.Components
|
2020-05-24 11:40:49 +02:00
|
|
|
{
|
2022-08-08 10:18:14 +10:00
|
|
|
/// <summary>
|
|
|
|
|
/// Ignores gravity entirely.
|
|
|
|
|
/// </summary>
|
2025-08-19 11:35:09 -07:00
|
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class MovementIgnoreGravityComponent : Component
|
2020-05-24 11:40:49 +02:00
|
|
|
{
|
2022-05-27 02:41:18 -05:00
|
|
|
/// <summary>
|
2025-08-19 11:35:09 -07:00
|
|
|
/// Whether gravity is on or off for this object. This will always override the current Gravity State.
|
2022-05-27 02:41:18 -05:00
|
|
|
/// </summary>
|
2025-08-19 11:35:09 -07:00
|
|
|
[DataField, AutoNetworkedField]
|
2022-05-27 02:41:18 -05:00
|
|
|
public bool Weightless;
|
2020-05-24 11:40:49 +02:00
|
|
|
}
|
|
|
|
|
}
|