Reproduce:
When executing the command “/camera @s minecraft:free” all animations that use “query.camera_rotation” incorrectly rotates
Expected:
Rotations are based on camera’s rotation
Attachments
Comments 3
MCPE-229462 (this) uses q.camera_rotation in the animation.json
if q.camera_rotation = 0 all the time, snowballs (which uses animation.actor.billboard) would not rotate properly
//animation.actor.billboard
{
"rotation":["query.camera_rotation(0)", "query.camera_rotation(1)", 0.0]
}The custom entity with no texture uses a similar animation:
//animation.textbox.camera
{
"rotation":["q.camera_rotation(0)", "q.camera_rotation(1) - q.body_y_rotation", 0]
}MCPE-219473 calculates query.camera_rotation in the entity.json, in “pre_animation” in “scripts”
Also this does not break MCPE-219473 because that bug is reporting first person geometry, not other entities geometries, which this bug reports
At the start of the recording, you are in first person. How are you bypassing https://report.bugs.mojang.com/servicedesk/customer/portal/6/MCPE-219473?