Files
space-engineers/Ingame/IMyMotorSuspension.cs
2022-05-18 19:57:23 +03:00

59 lines
1.2 KiB
C#
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Sandbox.ModAPI.Ingame
{
public interface IMyMotorSuspension : IMyMotorBase
{
bool Steering { get; }
bool Propulsion { get; }
bool InvertSteer { get; }
bool InvertPropulsion { get; }
float Damping { get; }
float Strength { get; }
float Friction { get; }
float Power { get; }
float Height { get; }
/// <summary>
/// Wheel's current steering angle
/// </summary>
float SteerAngle { get; }
/// <summary>
/// Max steering angle in radians.
/// </summary>
float MaxSteerAngle { get; }
/// <summary>
/// Speed at which wheel steers.
/// </summary>
float SteerSpeed { get; }
/// <summary>
/// Speed at which wheel returns from steering.
/// </summary>
float SteerReturnSpeed { get; }
/// <summary>
/// Suspension travel, value from 0 to 1.
/// </summary>
float SuspensionTravel { get; }
/// <summary>
/// Set/get brake applied to the wheel.
/// </summary>
bool Brake { get; set; }
}
}