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

obj.set(options), this function cannot work! I just want to set scale and rotation.How to realise this? #81

Open gisonjourney opened 4 years ago

xuweimeng commented 4 years ago

gltf.scene.scale.set(1, 1, 1); gltf.scene.rotation.x = Math.PI / 2;