#Player throwable draw animation only in 3rd person, shouldn't any affect on 1st person
1 messages · Page 1 of 1 (latest)
Use Molang to detect camera mode
Bedrock uses query.is_third_person to check camera view
In your player animation controller, add a condition like this "animation_controllers": {
"controller.animation.player.throw_draw": {
"states": {
"default": {
"transitions": [
{
"drawing": "query.is_using_item && query.is_third_person"
}
]
},
"drawing": {
"animations": [ "animation.player.drawing_throwable" ],
"transitions": [
{
"default": "!query.is_using_item || !query.is_third_person"
}
]
}
}
}
}
"animation_controllers": [
{ "controller.animation.player.throw_draw": {} }
]
query is using item: True when holding right click (drawing).
query is third person: True only in third person.
This ensures the animation plays only in third person and does not affect first person attachables.
Sir, in creator log warn it's showing query.is_third_person is unrecognised, and I tried ! query.is_first_person it will work on play the animation on Player but in first person it affecting. Arms, hand attachables and item are disappearing while player play the animation.