question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to scale a object to 120%?

See original GitHub issue

I’ve got an object by:

planeWall = new THREE.Mesh(new THREE.PlaneGeometry(10,5,1,1), material);

Then I want to make it bigger, say, 20% so I tried:

planeWall.geometry = new THREE.PlaneGeometry(12,6,1,1);

but failed,debugger says:

TypeError: Cannot read property 'radius' of null

Is there anyone has some experience for this?

Issue Analytics

  • State:closed
  • Created 12 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
jbovatsekcommented, Nov 6, 2011
planeWall.scale.set(12,6,1);
0reactions
WestLangleycommented, May 16, 2015

@tmdeft three.js does not support negative scale factors. See http://stackoverflow.com/search?q=[three.js]+support+negative+scale

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I rescale an object to be a specified cm in length and ...
Then press the S key and type 120 in to the number pad and hit Enter to scale the object up to 120mm....
Read more >
How to scale objects in Illustrator - YouTube
Get a FREE Illustrator shortcuts sheet here: http://graphicsgrrrl.com/top10illustrator1/GET A FREE 30-DAY TRIAL OF ADOBE ILLUSTRATOR ...
Read more >
Scale Calculator - Scale From On-screen Images - Metric
This is easy with Metric, where you can scale up by multiplying input dimensions by 10, enter into the calculator then scale the...
Read more >
Understanding and converting scale ratios - FineScale Modeler
but only have 1/35 scale drawings, simply divide the scale you have by the scale ... 1/8" scale ships, aircraft. 1/100. 8'4". –...
Read more >
Transform objects in InDesign - Adobe Support
To resize both the frame and content, use the Scale X Percentage and Scale Y Percentage fields, not the W and H fields....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found