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; } /// /// Wheel's current steering angle /// float SteerAngle { get; } /// /// Max steering angle in radians. /// float MaxSteerAngle { get; } /// /// Speed at which wheel steers. /// float SteerSpeed { get; } /// /// Speed at which wheel returns from steering. /// float SteerReturnSpeed { get; } /// /// Suspension travel, value from 0 to 1. /// float SuspensionTravel { get; } /// /// Set/get brake applied to the wheel. /// bool Brake { get; set; } } }