- Home /
Define position as lower left corner?
Hi,
I'm new to Unity and have the following issue:
It seems that the position of an object actually refers to the CENTER of the object. This is problematic for my game (2D endless runner) as I want to position most objects directly on the ground. But this is difficult because position refers to the center of an object. So the required position changes based on the height of the object. (for example a higher pillar requires a higher y-coordinate in order to touch the ground than a smaller one).
I find this very cumbersome to work with. Is it possible to redefine position as the position of the lower left corner of the object? Then I could set the y-coordinates of all objects to the same value and they all would touch the ground.
Thanks for your help.