Camera presets using minecraft:follow_orbit reset player rotation when applied for the first time
Partner Rank: 2
Partner Team Reporting: Gamemode One
Verification builds: 1.21.30.21, 1.21.30.23
Summary: Camera presets inheriting minecraft:follow_orbit reset their rotation when applied for the first time after joining the world, this does not occur on subsequent camera changes.
Impact: This defect creates a bad user experience of a jarring camera rotation reset each time a player enters a world. Players may be frustrated by the unsmooth transition.
Repro Steps:
1. Use the attached BP or create a new camera preset in a behavior pack that inherits from the orbit camera, example:
{ "format_version": "1.21.20", "minecraft:camera_preset": \{ "identifier": "mojira:camera_rotation", "inherit_from": "minecraft:follow_orbit", "view_offset": [ -2.5, 2 ], "entity_offset": [ 0, 0, 0 ], "radius": 2 }}
2. Create a world with the Creator Cameras: New Third Person Presets toggle enabled
3. Apply the BP, join world
4. Apply the camera preset on the player, /camera @s set mojira:camera_rotation
5. Observe rotation
Observed Results: When a camera preset is first applied to the player the camera rotation resets. This only occurs on first load of a world.
Expected Results: The camera rotation does not reset on application of preset.
Attached: Media / world can be sent.