godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
90.46k stars 21.07k forks source link

Gridmap tiles going offset #79925

Closed TKHDev21 closed 1 year ago

TKHDev21 commented 1 year ago

Godot version

v4.2.dev1.official [0c2144da9]

System information

Godot v4.2.dev1 - Windows 10.0.19045 - GLES3 (Compatibility) - GeForce GT 630M () - Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz (4 Threads)

Issue description

Note: This only happens with one tile

When I Try to place a tile, the tile goes offset from the mouse, making it harder to place tiles

Steps to reproduce

When opening the project, head to the "game" scene and there is a mesh library and models for the tiles if you want

Minimal reproduction project

Fnaf Revisit Remake.zip

TKHDev21 commented 1 year ago

I fixed it, the solution was that the tile's pivot point wasn't in the center of the tile.