Im looking into it
Looks like your first animator state doesnt have any animation assigned
this.animator?play
is not calling the function btw too - and it shouldnt be necessary anyways. Just something I noticed in your script. But i think the actual problem is that you dont have animations assigned to the states you use (the orange one / entry animation)
Ah scratch that - it should work with no animation too (works here for me). My test script works with the trigger, I’ll try to copy your code
switching from on to off normally
by user 736699881032384574
It seems to be related to a bug in the serialization in the animatorcontroller when the node tree’s parameters are not selected
i think I got it
oh
by user 736699881032384574
can u try to update to 0.33.3 ?
sure. 1 min
by user 736699881032384574
worked perfectly
by user 736699881032384574
sorry for the delay
by user 736699881032384574
Great, no worries. Thanks for the feedback
Hello @Ramon Xavier I’m currently looking into adding support for doing this with no code from Blender (adding support to arguments to the eventlist) - I’ll keep you posted, this will require an engine update - but it should be fairly easy
good. i have one more problem to report. maybe it’s me, hahaha. but when i go to AR mode. the animation problem comes back. i can play and stop an audio but the animation doesn’t start.
by user 736699881032384574
What kind of device are you using for AR?
If it’s iOS you need to use Everywhere Actions (e.g. PlayAnimationOnClick) Everywhere Actions | Needle Engine Documentation
android
by user 736699881032384574
Ok, can you share some more info about your blender scene? You can also send a bugreport using the bugreporter panel
sure
by user 736699881032384574