Esempio n. 1
0
        public CharacterCamera()
        {
            _rotation = new RotationalConstraints
            {
                Down = 80,
                Side = 180,
                Up   = 80
            };

            _distance = new DistanceSettings
            {
                Minimum = 0.2f,
                Maximum = 2f
            };
        }
Esempio n. 2
0
        public ThirdPersonCamera()
        {
            _rotation = new RotationalConstraints
            {
                Down = 80,
                Side = 180,
                Up   = 80
            };

            _distance      = new DistanceSettings();
            _wallAvoidance = new WallAvoidanceSettings();

            _focus = new FocusSettings
            {
                TrackFocus = false
            };

            _focused = new ReactiveProperty <Transform>();
        }