mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2024-11-23 13:36:18 +00:00
a3b394c507
Initial layout
108 lines
1.9 KiB
JSON
108 lines
1.9 KiB
JSON
{
|
|
"format_version" : "1.10.0",
|
|
"animation_controllers" : {
|
|
"controller.animation.panda.baby" : {
|
|
"initial_state" : "baby",
|
|
"states" : {
|
|
"baby" : {
|
|
"animations" : [
|
|
{
|
|
"baby_transform" : "query.is_baby"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"controller.animation.panda.move" : {
|
|
"initial_state" : "default",
|
|
"states" : {
|
|
"default" : {
|
|
"animations" : [
|
|
{
|
|
"walk" : "query.modified_move_speed"
|
|
},
|
|
"look_at_target"
|
|
],
|
|
"transitions" : [
|
|
{
|
|
"rolling" : "query.roll_counter > 0"
|
|
},
|
|
{
|
|
"sitting" : "query.sit_amount > 0"
|
|
},
|
|
{
|
|
"lying" : "query.lie_amount > 0"
|
|
}
|
|
]
|
|
},
|
|
"lying" : {
|
|
"animations" : [ "lying" ],
|
|
"transitions" : [
|
|
{
|
|
"default" : "query.lie_amount <= 0"
|
|
},
|
|
{
|
|
"rolling" : "query.roll_counter > 0"
|
|
},
|
|
{
|
|
"sitting" : "query.sit_amount > 0"
|
|
}
|
|
]
|
|
},
|
|
"rolling" : {
|
|
"animations" : [ "rolling" ],
|
|
"transitions" : [
|
|
{
|
|
"default" : "query.roll_counter <= 0"
|
|
},
|
|
{
|
|
"sitting" : "query.sit_amount > 0"
|
|
},
|
|
{
|
|
"lying" : "query.lie_amount > 0"
|
|
}
|
|
]
|
|
},
|
|
"sitting" : {
|
|
"animations" : [ "sitting" ],
|
|
"transitions" : [
|
|
{
|
|
"default" : "query.sit_amount <= 0"
|
|
},
|
|
{
|
|
"rolling" : "query.roll_counter > 0"
|
|
},
|
|
{
|
|
"lying" : "query.lie_amount > 0"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"controller.animation.panda.sneezing" : {
|
|
"initial_state" : "baby",
|
|
"states" : {
|
|
"baby" : {
|
|
"animations" : [
|
|
{
|
|
"sneezing" : "query.sneeze_counter"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"controller.animation.panda.unhappy" : {
|
|
"initial_state" : "baby",
|
|
"states" : {
|
|
"baby" : {
|
|
"animations" : [
|
|
{
|
|
"unhappy" : "query.unhappy_counter"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|