protected virtual void setupCamera()
 {
     var camera = new SSCameraThirdPerson (null);
     camera.followDistance = 50.0f;
     scene.ActiveCamera = camera;
     scene.AddObject (camera);
 }
예제 #2
0
        protected override void setupCamera()
        {
            var camera = new SSCameraThirdPerson (null);
            camera.basePos = new Vector3 (0f, 10f, 0f);
            camera.followDistance = 50.0f;
            scene.ActiveCamera = camera;
            scene.AddObject (camera);

            tracker0.targetObject = scene.ActiveCamera;
            tracker4.targetObject = scene.ActiveCamera;
        }
예제 #3
0
        protected override void setupCamera()
        {
            var camera = new SSCameraThirdPerson (null);
            camera.basePos = new Vector3 (0f, 10f, 0f);
            camera.followDistance = 50.0f;
            main3dScene.ActiveCamera = camera;

            if (tracker0 != null) {
                tracker0.targetObject = main3dScene.ActiveCamera;
            }
            if (tracker4 != null) {
                tracker4.targetObject = main3dScene.ActiveCamera;
            }
        }
예제 #4
0
        protected override void setupCamera()
        {
            var camera = new SSCameraThirdPerson (droneObj2);
            //var camera = new SSCameraThirdPerson (droneObj1);
            camera.Pos = Vector3.Zero;
            camera.followDistance = 80.0f;

            main3dScene.ActiveCamera = camera;
        }
예제 #5
0
        protected override void setupCamera()
        {
            var camera = new SSCameraThirdPerson (null);
            camera.Name = "camera";
            camera.basePos = new Vector3 (100f, 0f, 30f);
            camera.Pos = new Vector3 (170f, 20f, 245f);
            camera.followDistance = 225f;
            camera.localBoundingSphereRadius = 0.1f;

            main3dScene.ActiveCamera = camera;
        }