You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I'm not able to configure for irregular shaped hexagons in HexLayout. Perhaps there is a way, in which case please excuse my ignorance and point me in the right direction :)
Describe the solution you'd like
A way to support irregular shaped hexagons.
EDIT:
I see the hex_size field in HexLayout, but since it's a Vec2, I'm guessing it would only support irregular hexagons that, in the "flat top" orientation, have the flat size exactly 1/2 of the over all width?
i.e. how would one support something like this?
The text was updated successfully, but these errors were encountered:
Chainging the hex_size in the hex_grid example you can set irregular hexagon sizes but they will look scaled and not sliced like your example.
I can look into custom scaling but that doesn't exist yet
I worked on this, and it's a headache. Making the hexagons scaled along a vertex is not a problem, the issue comes from adapting the layout which is based on matrix calculations.
Unfortunately I could not figure it out for 0.16 but I think this would make a good addition for a future release
Is your feature request related to a problem? Please describe.
I'm not able to configure for irregular shaped hexagons in
HexLayout
. Perhaps there is a way, in which case please excuse my ignorance and point me in the right direction :)Describe the solution you'd like
A way to support irregular shaped hexagons.
EDIT:
I see the
hex_size
field inHexLayout
, but since it's aVec2
, I'm guessing it would only support irregular hexagons that, in the "flat top" orientation, have the flat size exactly 1/2 of the over all width?i.e. how would one support something like this?
![Screenshot 2023-12-09 at 10 13 40 AM](https://private-user-images.githubusercontent.com/42384776/289298415-bc6323f8-ab94-489e-bc66-d08f334b075a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQyOTUwMjksIm5iZiI6MTcyNDI5NDcyOSwicGF0aCI6Ii80MjM4NDc3Ni8yODkyOTg0MTUtYmM2MzIzZjgtYWI5NC00ODllLWJjNjYtZDA4ZjMzNGIwNzVhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODIyVDAyNDUyOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWUyYjVjMGIwYTVhZmQyOGVhMTU4ODRiZGJlOWU3ODE5YThmMWIyYTg3Y2NjNzhiNjc1YzAzZmE0MTAwMWNlMDcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.YOwmnI7uKB7OKVTs3aRO7S19mH8SOiGlZJZ7OUnEfpA)
The text was updated successfully, but these errors were encountered: