Created
July 4, 2019 06:48
-
-
Save AtomicBlom/f8e97fb71422a1afe15525f62586a16d to your computer and use it in GitHub Desktop.
Third Person Camera from Bedrock 1.13 beta
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"field_of_view": 66.0, | |
"near_clipping_plane": 0.025, | |
"far_clipping_plane": 2500.0, | |
"render_player_model": true, | |
"priority": 1, | |
"player_rotation_offset": [0.0, 180.0], | |
"blend_in_default": { | |
"blend_time": 0.0, | |
"ease": "in_out_cubic", | |
"camera_from_accepts_input": false, | |
"camera_to_accepts_input": false | |
}, | |
"behaviors": { | |
"orbit": { | |
"azimuth_smoothing_spring": 0, | |
"polar_angle_smoothing_spring": 0, | |
"distance_smoothing_spring": 0, | |
"polar_angle_min": 0.1, | |
"polar_angle_max": 179.9, | |
"radius": 4.0 | |
}, | |
"look_at": { | |
"soft_bounds": [0.0, 0.0, 0.0, 0.0], | |
"hard_bounds": [0.0, 0.0, 0.0, 0.0], | |
"soft_bounds_smoothing_spring": 64 | |
}, | |
"avoidance": { | |
"relax_distance_smoothing_spring": 0, | |
"distance_constraint_min": 0.5, | |
"avoidance_rays_vertical": | |
[ | |
{ | |
"distance": 0.275, | |
"weight": 1.1 | |
} | |
] | |
}, | |
"sneak": { | |
"camera_interpolation_rate": 0.03, | |
"sneak_offset": -0.125 | |
}, | |
"bob": {}, | |
"portal": {}, | |
"liquid_offset": {}, | |
"ride_rotation": {} | |
}, | |
"activation_rule": { | |
"type": "option", | |
"camera_option": "third_person" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment