Forum

Logic Node API

11 May 2016 13:26
Hi @ll,

using the new API run_entrypoint works great.

Calling from JavaScript the run_entrypoint function triggers the animation on that cube.
A second call from JavaScript to the same Logic-Node entry-point does not trigger the cube animation again.

Is there a way to make further trigger-calls from the JavaScript Entry-Point possible? (Perhaps wiring the Play-Animation-Next connector to some place?)

Cheers, Daniel.
@ Emotional3D
11 May 2016 14:18

Is there a way to make further trigger-calls from the JavaScript Entry-Point possible? (Perhaps wiring the Play-Animation-Next connector to some place?)
Hello!

For now an Entry Point can be triggered from JS only once (it is something like unmute).
Blend4Web Team - developer
Twitter
LinkedIn
11 May 2016 14:51
We decided that the behavior you have described is really more convenient.
We are going to implement it in the next few releases. Maybe, in the nearest one.
12 May 2016 09:49
Sounds great! Thank you Evgeny.
@ Emotional3D
31 May 2016 18:10
A second call from JavaScript to the same Logic-Node entry-point does not trigger the cube animation again.
This should work as of 16.05, please check this.
The Founder | Twitter | Facebook | Linkedin
 
Please register or log in to leave a reply.