using NewHorizons.External.SerializableData;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NewHorizons.External.Modules.Volumes.VolumeInfos
{
[JsonObject]
public class DirectionalForceVolumeInfo : ForceVolumeInfo
{
///
/// The direction of the force applied by this volume. Defaults to up (0, 1, 0).
///
public MVector3 normal;
///
/// Whether this force volume affects alignment. Defaults to true.
///
[DefaultValue(true)] public bool affectsAlignment = true;
///
/// Whether the force applied by this volume takes the centripetal force of the volume's parent body into account. Defaults to false.
///
public bool offsetCentripetalForce;
///
/// Whether to play the gravity crystal audio when the player is in this volume.
///
public bool playGravityCrystalAudio;
}
}