Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Asset Forge

Create your own 3D models and 2D sprites! · By Kenney

Consistent scaling

A topic by MoovingBox created Dec 16, 2019 Views: 196 Replies: 1
Viewing posts 1 to 2

I add a cube primitive to a new scene. The cube takes up exactly 1x1 square. For the sake of argument, lets assume this is 1m x 1m

If I make the cube thinner, it goes down 0.1m each movement of the mouse. I stop when it gets to 0.1m wide.

At this point, I'd expect to be able to scale it back in 0.1m increments back to its original size. Instead, the scaling is relative to its current size, so now I need to move it in 1.0 increments to bring it back to its original size (ie. the display says 9.0 and not 0.9 to be consistent with the jumps in size when shrinking) . This is confusing, but also difficult as I cant move the mouse enough to make it reach 9.0. If I stop at 7.6 (for example) because thats as far as I can move the mouse, I now don't know how to grow it to get it exactly back to 1m * 1m (or whatever size I'd like).

An easier example. If I resize the side of the cube down -0.4, I then can't get it back to line up with the grid as I need to expand it +0.66 which I can't do, I can only do +0.6 or +0.7.