- Home /
Question by
Sergey 1 · Jul 10, 2010 at 07:56 PM ·
scriptingbasicscubecenterobject-center
Finding center of a cube
Hi.
How to find a cube's center? Let's say I am making a checkers game and using flat cubes as cells. In order to move checker onto cell I need to determine position where it would be cell's center. Is there any built-in way to do that?
Thanks.
Comment
Best Answer
Answer by Mike 3 · Jul 10, 2010 at 07:59 PM
for the standard unity cube, transform.position is the center