Thanks!
With the following code I can get the current frame number which is playing.
scene.animationGroups[0].targetedAnimations[0].animation.runtimeAnimations[0].currentFrame
Indeed the approach about animating the animation is a bit confusing.
So let’s rephrase, what I’m after is the following:
I have a predesigned camera following a path in Blender/3dsMax exported in a glb file.
This camera (animated) comes along a few points of interest on the animated path (can be virtual, no stops, just a frame number).
I managed to import and make us of this animated file in BJS.
Depending on the scroll delta of your mouse I would like to initiate an animation of the camera.
Let’s say we have an animation of 400 frames in blender, and we’ve landed in BJS on frame 120.
When I scroll I’d like to initiate the camera animation forward 180 frames with an easing curve.
Here is a sketch about it:
Is that something that could be done?
Thanks for the help in advance.
Pieter