示例#1
0
        public DronePhysicsBase(DronePhysicsSettings physicsSettings, Transform transform, Rigidbody2D rigidbody)
        {
            m_PhysicsSettings = physicsSettings;
            m_Transform       = transform;
            m_Rigidbody       = rigidbody;

            SetRigidBodyParams();

            m_StartPosition = transform.position;
            m_StartRotation = transform.rotation;

            AddDisposable(EventBus.Subscribe(this));
        }
示例#2
0
 public SimpleDronePhysics(DronePhysicsSettings physicsSettings, Transform transform, Rigidbody2D rigidbody) : base(physicsSettings, transform, rigidbody)
 {
 }
示例#3
0
 public SimpleDronePhysicsWithEngineModifiers(DronePhysicsSettings physicsSettings, Transform transform,
                                              Rigidbody2D rigidbody) :
     base(physicsSettings, transform, rigidbody)
 {
 }