Closed vans163 closed 6 years ago
I need to convert a user click on a TileMap2D into the x,y tile that was clicked. So far the docs say to use
PositionToTileIndex() to convert Urho position to tile index (returns false if position is outside of the map)
but PositionToTileIndex is not exposed in UrhoSharp.
Perhaps related http://urho3d.prophpbb.com/topic2211.html, but you can see the long winded solution to do what PositionToTileIndex does.
@vans163 looks like it was added recently to Urho3D. I'll update the bindings.
Surfaced.
I need to convert a user click on a TileMap2D into the x,y tile that was clicked. So far the docs say to use
but PositionToTileIndex is not exposed in UrhoSharp.
Perhaps related http://urho3d.prophpbb.com/topic2211.html, but you can see the long winded solution to do what PositionToTileIndex does.