I'd like to edit an object's position, rotation, and scale vectors, then 'apply' them to the geometry, which would zero-out those vectors, but retain the transformation.
For example, let's say I import a cube with a side-length of 1. The min and max vertices of the cube are located at (0, 0, 0)
and (1, 1, 1)
. I set the object's scale to (2, 2, 2)
and then apply the transformation to the geometry.
After applying, the scale is reset to (1, 1, 1)
and the min and max vertices of the cube are (0, 0, 0)
and (2, 2, 2)
, respectively.
Is there some built-in way to do this?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…