Best Method for Linking Events to Frames
21 February 2017 03:06
Hello Blend4Web Community,
So I am attempting to apply the JS function set_diffuse_color() to an object at a given frame every time an animation plays. I was shown how to accomplish something of this sort using a sensor manifold, but am wondering if there is a better method, and if not, what the cleanest and most efficient way to link events to individual frames is.
I've attached a project folder to give an idea of what I'm going for.
My thanks in advance!
So I am attempting to apply the JS function set_diffuse_color() to an object at a given frame every time an animation plays. I was shown how to accomplish something of this sort using a sensor manifold, but am wondering if there is a better method, and if not, what the cleanest and most efficient way to link events to individual frames is.
I've attached a project folder to give an idea of what I'm going for.
My thanks in advance!