How to use wheel/scroll to control camera movement along a path

Hi @carolhmj yes I got the basic principle working and in the mean time I’m able to export an animated path (which is just an array of camera positions & rotations) from blender. And import that animated scene into babylon where I can capture the scroll to transition the animation position backward and forward using the scroll.
I think it can definitely be improved to make it more smoothly but overall it works.

I’ll have a look if I can find the code I used last to post it here for anyone else to use. Don’t have a PG though as I’m developing in vscode.

Thank you for following up.

EDIT: have a look at this topic: Animation current frame - #11 by Pieter_van_Stee

1 Like