peterqliu / threebox

A three.js plugin for Mapbox GL JS, with support for basic animation and advanced 3D rendering.
MIT License
526 stars 320 forks source link

Animated object example #9

Closed kronick closed 5 years ago

kronick commented 7 years ago

Create an example of animating a 3D object using a requestAnimationFrame loop

kyya commented 6 years ago

In example basic.html, I use aircraft.position.x +=1 to let my 3D object move. What can I do to let this operation being executed automatically? So, it may just like an animation, at the same time I can drag my map.

peterqliu commented 5 years ago

examples/logistics.html should address this