#3D Model Appears Incorrectly Until Game Restart (Bedrock Edition)
1 messages · Page 1 of 1 (latest)
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

u probably need to change player animation controller
I don't quite understand. Could you explain that a bit more clearly?
You don't need to use animation controllers if there is only one animation per animation controller. The better way to do it is by playing the animation directly instead
I use an animation controller because I might have many animations in the future.
I have another gun that has more than one animation, but it still faces this bug.
then it might have to do with the transitions