# How to use three.js to change the size and position of the imported obj model?

**URL:** <https://discourse.threejs.org/t/how-to-use-three-js-to-change-the-size-and-position-of-the-imported-obj-model/24678>\
**Category:** Questions\
**Tags:** datgui, getting-started\
**Created:** [March 23, 2021, 1:38pm UTC](https://discourse.threejs.org/t/how-to-use-three-js-to-change-the-size-and-position-of-the-imported-obj-model/24678 "2021-03-23T13:38:22Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![WZUchen](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/wzuchen/32/17250_2.png) [@WZUchen](https://discourse.threejs.org/u/WZUchen)\
**Post date:** [March 23, 2021, 1:38pm UTC](https://discourse.threejs.org/t/how-to-use-three-js-to-change-the-size-and-position-of-the-imported-obj-model/24678/1 "2021-03-23T13:38:22Z")

</div>

Hello, I’m a sophomore. I’ve seen other people’s recommendation on other websites. I’d like to ask you about it three.js1 Two questions  
The size and position of the imported obj model can be adjusted three.js I’ve tried for two weeks, but I don’t know how to implement this function  
If you know, please don’t hesitate to give me advice

 ![QQ截图20210323194414](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/6/5/65fd8fe2ef865201da819178902b9ebe56876bfc.png)

---

<div class="post-metadata">

**Author:** ![Mugen87](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/mugen87/32/5645_2.png) [@Mugen87](https://discourse.threejs.org/u/Mugen87)\
**Post date:** [March 23, 2021, 1:42pm UTC](https://discourse.threejs.org/t/how-to-use-three-js-to-change-the-size-and-position-of-the-imported-obj-model/24678/2 "2021-03-23T13:42:55Z")

</div>

Please share your current code as a [live example](https://jsfiddle.net/f2Lommf5/) or GitHub repo.

---

<div class="post-metadata">

**Author:** ![WZUchen](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/wzuchen/32/17250_2.png) [@WZUchen](https://discourse.threejs.org/u/WZUchen)\
**Post date:** [March 23, 2021, 2:20pm UTC](https://discourse.threejs.org/t/how-to-use-three-js-to-change-the-size-and-position-of-the-imported-obj-model/24678/3 "2021-03-23T14:20:50Z")

</div>

My GitHub address is [GitHub - WZUchen/three.js at WZUchen-how-to-solve](https://github.com/WZUchen/three.js/tree/WZUchen-how-to-solve)  
You can view the zian.html See why  
Hope to get your advice

---

<div class="post-metadata">

**Author:** ![Mugen87](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/mugen87/32/5645_2.png) [@Mugen87](https://discourse.threejs.org/u/Mugen87)\
**Post date:** [March 23, 2021, 2:34pm UTC](https://discourse.threejs.org/t/how-to-use-three-js-to-change-the-size-and-position-of-the-imported-obj-model/24678/4 "2021-03-23T14:34:45Z")

</div>

> [@WZUchen](#):
>
> You can view the zian.html See why

Unfortunately, your app is broken when I host it on a local server. The paths to JS files are wrong, the library files are outdated (you are using `r69`) and the app code itself has a lot of issues.

I suggest you start completely fresh with studying a few `three.js` and JavaScript tutorials and then use the following example as a starter template: [three.js webgl - loaders - OBJ loader](https://threejs.org/examples/webgl_loader_obj)

---

<div class="post-metadata">

**Author:** ![hofk](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/hofk/32/44944_2.png) [@hofk](https://discourse.threejs.org/u/hofk)\
**Post date:** [March 23, 2021, 2:49pm UTC](https://discourse.threejs.org/t/how-to-use-three-js-to-change-the-size-and-position-of-the-imported-obj-model/24678/5 "2021-03-23T14:49:13Z")

</div>

If you’re new, check out beginner examples.

see

> [@Collection of examples from discourse.threejs.org](https://discourse.threejs.org/t/collection-of-examples-from-discourse-threejs-org/4315):
>
> The answers to some questions contain some very interesting and instructive basic examples. These are difficult to find in the large number of questions on discourse.There are also good examples in resources and showcase. Therefore I collected them and put them on one page, clearly arranged by time. The collection may be a help for beginners. slightly_smiling_face UPDATE 2019 [http://discourse.threejs.hofk.de/](http://discourse.threejs.hofk.de/) is now redirected to the safe side [\* discourse.threejs.hofk.de](https://hofk.de/main/discourse.threejs/) UPDATE 202…

[\* discourse.threejs.hofk.de](https://hofk.de/main/discourse.threejs/)

[BeginnerExample](https://hofk.de/main/discourse.threejs/BeginnerExample/BeginnerExample.html) // … step 03: load 3D models -

[LoadOBJbyModule](https://hofk.de/main/discourse.threejs/2021/LoadOBJbyModule/LoadOBJbyModule.html)

* * *

Also read the things at the bottom of the page.  
 ![2021-03-23 15.47.34](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/a/a/aa61f72c502919ffe382b4427cad9b7d78ecb4ef.png)

Enjoy 🙂

---

<div class="post-metadata">

**Author:** ![WZUchen](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/wzuchen/32/17250_2.png) [@WZUchen](https://discourse.threejs.org/u/WZUchen)\
**Post date:** [March 23, 2021, 3:13pm UTC](https://discourse.threejs.org/t/how-to-use-three-js-to-change-the-size-and-position-of-the-imported-obj-model/24678/6 "2021-03-23T15:13:07Z")

</div>

Thank you very much for your advice. As a beginner, I am very happy to get your advice

---

<div class="post-metadata">

**Author:** ![WZUchen](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/wzuchen/32/17250_2.png) [@WZUchen](https://discourse.threejs.org/u/WZUchen)\
**Post date:** [March 23, 2021, 3:13pm UTC](https://discourse.threejs.org/t/how-to-use-three-js-to-change-the-size-and-position-of-the-imported-obj-model/24678/7 "2021-03-23T15:13:58Z")

</div>

Thank you very much. As a beginner, I will listen to your advice carefully
