Monday, June 20, 2022
HomeGame Developmentunity - Backside-left cell place is wrong?

unity – Backside-left cell place is wrong?


I have to get the place of the bottom-left cell on my tilemap. I used Flooring.CellToWorld(Flooring.cellBounds.min) (Flooring is the title of my tilemap) and I used Gizmos to see if it was working however it turned out to be in a bizarre place, the Rect Device Additionally reveals a flawed rect. This is the picture so I can clarify higher:

Rect and Cell Position

As you’ll be able to see the yellow-ish half is the bottom-left a part of my tilemap, the inexperienced circle (which is a wired sphere) is Flooring.CellToWorld(Flooring.cellBounds.min), and people two thick white traces are proven through the use of the Rect Device. So judging by this data, I feel it is not a programming-related concern. Does anybody know the way I can repair this?

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments