jscastro76 / threebox

A Three.js plugin for Mapbox GL JS, with support for animations and advanced 3D rendering.
Other
549 stars 145 forks source link

On the Problem of obj. set() Animation Function #392

Open wqh81615429 opened 1 year ago

wqh81615429 commented 1 year ago

Does the obj. set() animation have a callback function? I checked the source code and found that manually adding a cb() callback function in options will trigger cb, indicating that it is valid. However, sometimes an error is reported: threebox. min. js: 1 Uncaught TypeError: Cannot read properties of undefined (reading 'x') at ye. instanceToSquared (threebox. min. js: 1:34056). How did this error occur? I haven't identified the cause, can you give me some guidance? Thank you very much!

threebox.js version 2.2.7