Ejemplo n.º 1
0
        protected override void OnInitialize()
        {
            PhysicsContext = new Physics();

            Freelook.SetEyeTarget(eye, target);

            Info.Text = infoText + "\nCCD enabled (P to disable)";

            base.OnInitialize();
        }
Ejemplo n.º 2
0
        protected override void OnInitialize()
        {
            PhysicsContext = new Physics();

            Freelook.SetEyeTarget(eye, target);
            DemoText = "CCD enabled (P to disable)";
            Form.Text = "BulletSharp - CCD Demo";

            base.OnInitialize();
        }
Ejemplo n.º 3
0
        protected override void OnInitialize()
        {
            Physics = new Physics();

            light = new Light();
            light.Type = LightType.Point;
            light.Range = 400;
            light.Position = new Vector3(10, 25, 10);
            light.Diffuse = Color.LemonChiffon;
            light.Attenuation0 = 1.0f;

            Fps.Text = fpsText + "\nCCD enabled (P to disable)";

            Freelook.SetEyeTarget(eye, Vector3.Zero);

            base.OnInitialize();
        }