Unity-Technologies / 2d-extras

Fun 2D Stuff that we'd like to share!
Other
1.52k stars 340 forks source link

Prefab Brush and Hexagons #88

Open adamhbz opened 5 years ago

adamhbz commented 5 years ago

Hi Im using the Prefab brush to draw 3d hexagon tiles.

This is for a top-down game and so I have changed the Grid "CELL SWIZZLE" to XZY and the TimeMap "Orientation" to XZ.

Mostly it is working fine but if I draw tiles with a Z value less than 0 their position changes and does not match up with the grid.

ChuanXin-Unity commented 5 years ago

Hi, would it be possible to show screenshots of this? Thanks!

Also, if you can file a bug report with the Unity Bug Reporter with your project and post the case number here, that would be helpful!

adamhbz commented 5 years ago

HI, i've tried submitting a bug twice and it jsut gets stuck on uploading the project. I have a 50mb upload speed so not sure what is going wrong, I will try again at a later time.

Anyway, here is a screenshot: Screenshot 2019-04-23 at 12 15 25

hpofficejet commented 5 years ago

I'm having the exact same problem. But I use XYZ swizzle and when y is positive it is off grid and when y is negative it's on grid.

CaptainJax commented 4 years ago

I get the same problem, but worse. It never paints on in the correct place, though it does it differently depending on positive/negative X value. It also paints in weird patterns, refusing to place prefabs in certain areas. For the screenshot, I painted the entire visible area, all holes were places it refused to paint. If it weren't for that issue, I could just avoid -X areas, and deal with it, but the refusal to place in areas is very frustrating.

prefab-brush-bug

ChuanXin-Unity commented 4 years ago

Hi, if you can file a bug report with the Unity Bug Reporter with your project and post the case number here, that would be helpful!

I can see the problems faced with the screenshots provided, but I am having difficulties in reproducing these problems on my own. Thanks for the help!

howlmoon123 commented 4 years ago

Hi, just in 2D mode Rectangle "xyz" mode. Changes z to -2 with a prefab brush. Everything else is good