Ejemplo n.º 1
0
        override protected void onSetup(Screen screen)
        {
            window.area.set(300, 500, 400, 150);
            content.views.clear();

            _sensetivity = new Selector(0.1f, 1, 10, "Sensetivity");
            _inertia     = new Selector(1, 1, 10, "Inertia");

            content.views.add(_sensetivity.view);

            _controller = new PIDControllerV(10000, 0, 800, -1000000, 1000000);

            target = Quaternion.identity;

            controlYaw   = Control.No;
            controlPitch = Control.No;
            controlRoll  = Control.No;
        }
Ejemplo n.º 2
0
        protected override void onSetup(Screen screen)
        {
            window.area.set(300, 500, 400, 150);
            content.views.clear();

            _sensetivity = new Selector(0.1f, 1, 10, "Sensetivity");
            _inertia = new Selector(1, 1, 10, "Inertia");

            content.views.add(_sensetivity.view);

            _controller = new PIDControllerV(10000, 0, 800, -1000000, 1000000);

            target = Quaternion.identity;

            controlYaw = Control.No;
            controlPitch = Control.No;
            controlRoll = Control.No;
        }