#3D Model Appears Incorrectly Until Game Restart (Bedrock Edition)

1 messages · Page 1 of 1 (latest)

mortal fractal
#

Sometimes my model appears in a very unreasonable position, as shown in the images.
However, when I close the game and reopen it, the model's position returns to normal.
This issue occurs occasionally, but I don't know why it happens.

#

ak47.attachable.json

{
    "format_version": "1.20.0",
    "minecraft:attachable": {
        "description": {
            "identifier": "xblockfire:ak47",
            "materials": {
                "default": "entity_alphatest",
                "enchanted": "entity_alphatest_glint"
            },
            "textures": {
                "default": "textures/models/gun/ak47",
                "enchanted": "textures/misc/enchanted_item_glint"
            },
            "geometry": {
                "default": "geometry.ak47"
            },
            "animations": {
                "fpp_hold": "animation.ak47.fpp_hold",
                "tpp_hold": "animation.ak47.tpp_hold",
                "fpp_controller": "controller.animation.item.fpp_ak47",
                "tpp_controller": "controller.animation.item.tpp_ak47"
            },
            "scripts": {
                "animate": [
                    { "fpp_controller": "c.is_first_person" },
                    { "tpp_controller": "!c.is_first_person" }
                ]
            },
            "render_controllers": [
                "controller.render.item_default"
            ]
        }
    }
}
#

ak47.animation_controllers.json

{
    "format_version": "1.10.0",
    "animation_controllers": {
        "controller.animation.item.fpp_ak47": {
            "initial_state": "fpp_default",
            "states": {
                "fpp_default": {
                    "transitions": [
                        {
                            "hold": "1"
                        }
                    ]
                },
                "hold": {
                    "animations": [
                        "fpp_hold"
                    ]
                }
            }
        },
        "controller.animation.item.tpp_ak47": {
            "initial_state": "tpp_default",
            "states": {
                "tpp_default": {
                    "transitions": [
                        { 
                            "hold": "1"
                        }
                    ]
                },
                "hold": {
                    "animations": [
                        "tpp_hold"
                    ]
                }
            }
        }
    }
}
#

this bug only affect first person view
it really confused me

fiery mist
#

u probably need to change player animation controller

mortal fractal
timid portal
mortal fractal
timid portal