Hello,
I am currently looking to read object properties from a global variable when a particular JS function is called from within puzzles. Currently the initial instance of the object is properly read by puzzles and corresponding adjustments are made to the model. However, once the object properties are updated by another JS file (that accessed the global object and prints it from within the project.js file for verification), the puzzles function is unable to see those changes to the object and still references the initial object.
If anyone could point out what I’m doing wrong or give me some tips I would very much appreciate it. Thanks.
I have posted some screenshots below:
(note that the readout with nonzero shape factors is printed out from within the project.js file)