_zwb Posted February 3, 2024 Share Posted February 3, 2024 (edited) Is there a way to convert tile coords to entity.Transform coordinates? Edited March 10, 2024 by _zwb Link to comment https://forums.kleientertainment.com/forums/topic/154131-solvedhow-does-mapgettilecoordsatpoint-work/ Share on other sites More sharing options...
_zwb Posted March 10, 2024 Author Share Posted March 10, 2024 I found out how it works: Map:GetSize returns the size of map in term of tiles, you multiply that number by 4 to get the map size in terms of wall length. Note that tile coords' origin is different from the regular Transform component, it starts at (- map size in tiles *2, -map size in tiles *2) instead of (0, 0). Link to comment https://forums.kleientertainment.com/forums/topic/154131-solvedhow-does-mapgettilecoordsatpoint-work/#findComment-1703734 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now