IBicycleController.cs 554 B

123456789101112131415161718192021222324252627
  1. using System;
  2. using UnityEngine;
  3. namespace Controller.Bicycle
  4. {
  5. [Serializable]
  6. public struct BicycleControllerMode
  7. {
  8. public float weightSteering;
  9. public float weightLeaning;
  10. }
  11. public interface IBicycleController
  12. {
  13. BicycleControllerMode ControllerMode { get; set; }
  14. float CurrentSpeed { get; set; }
  15. float CurrentBreakForce { get; set; }
  16. float CurrentLeaningAngle { get; set; }
  17. float CurrentSteerAngle { get; set; }
  18. Vector3 RigidBodyVelocity { get; }
  19. }
  20. }