IBicycleController.cs 476 B

123456789101112131415161718192021222324
  1. using System;
  2. using UnityEngine;
  3. namespace Controller.Bicycle
  4. {
  5. public enum BicycleControllerMode
  6. {
  7. Independent,
  8. LeaningAngleDependentOnSteerAngle
  9. }
  10. public interface IBicycleController
  11. {
  12. BicycleControllerMode ControllerMode { get; set; }
  13. float CurrentSpeed { get; set; }
  14. float CurrentLeaningAngle { get; set; }
  15. float CurrentSteerAngle { get; set; }
  16. Vector3 RigidBodyVelocity { get; }
  17. }
  18. }