Closed horstjens closed 2 years ago
Yes, the documentation should say that this is not (yet) supported with installed Python.
To enable following based on a function, replace site-packages/vpython/vpython.py with https://github.com/vpython/vpython-jupyter/blob/master/vpython/vpython.py This will be included in future releases of the vpython module.
using latest vpython version from github, scene.follow(None) does work now, but letting the camera follow a function as described in the documentation https://www.glowscript.org/docs/VPythonDocs/canvas.html does NOT work. (I guess it also did not worked before the patch).
(tested on Ubuntu Linux 21.10, python 3.9.7, latest vpython version from github (patch #198 )
The problem can be reproduced using idle: