#Player throwable draw animation only in 3rd person, shouldn't any affect on 1st person

1 messages · Page 1 of 1 (latest)

keen lagoon
#

Hello everyone, I want to make a Player animation while drawing throwable, but it should only play on 3rd person not want any affect on 1st person attachables, please if you can, help please 🙏🙏

boreal comet
# keen lagoon Hello everyone, I want to make a Player animation while drawing throwable, but i...

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.

keen lagoon
abstract adder
#

because q.is_third_person does not exist.

#

its c.is_third_person