Mojira Archive
MCPE-188028

query.noise will not accept coordinate values in a behavior animation controller

I can't make a behavior pack animation controller state accept either integer or queried XZ coordinates using query.noise.

Queried: "v.x = query.position(0); v.z = query.position(2); query.noise(v.x,v.z) < 0;"
 
Integers: "query.noise(-78,-156) < 0"
 
Both return a version of the same error: 
 
Queried:
[Molang][error]-<file_path>/animation_controllers/player.animation_controllers.json | animation_controllers | controller.animation.perlin | states | default | transitions | noise_below_0 | v.x = query.position(0); v.z = query.position(2); query.noise(v.x,v.z) < 0; | unrecognized token: query.noise(v.x,v.z) < 0;

Integers:
[Molang][error]-<file_path>/animation_controllers/player.animation_controllers.json | animation_controllers | controller.animation.perlin | states | default | transitions | noise_below_0 | query.noise(-78,-156) < 0 | unrecognized token: query.noise(-78,-156) < 0

Unresolved

jjkubik

2024-10-31, 07:13 PM

2024-11-08, 11:44 PM

0

1

Unconfirmed

1.21.43 Hotfix

-