Post reply

Warning - while you were reading a new reply has been posted. You may wish to review your post.
Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.
Message icon:

shortcuts: hit alt+s to submit/post or alt+p to preview

Topic Summary

Posted by: Kronnect
« on: December 09, 2019, 12:41:18 PM »

Just checked your repro. Thanks for that.

Please note that TGS currently can be attached to either a collection of gameobjects or a terrain, but not both with same grid instance.
However you could add a plane under Environment (ie. "Cube Plane") that covers the area and disable its Mesh Renderer so it remains invisible. Example:

Posted by: Kronnect
« on: December 06, 2019, 07:47:49 AM »

Thanks so much! Iíll get back to you next week.
Posted by: joelatgrimthinking
« on: December 06, 2019, 06:52:33 AM »

Sure! Here's a new project demonstrating the behavior:

Only the cells with a cube under them are selectable.

Hope this helps, and thanks for looking into this so quickly!
Posted by: Kronnect
« on: December 05, 2019, 05:10:54 PM »

Could you perhaps send me a repro? It doesnít need to be the full scene but the minimum to reproduce the issue.
Posted by: joelatgrimthinking
« on: December 04, 2019, 02:29:17 PM »

I tried with that setting checked and unchecked, but neither seemed to have any effect on the behavior.
Posted by: Kronnect
« on: December 04, 2019, 12:09:51 PM »

Nice setup!
Could it be the "Respect Other UI" checkbox?
Posted by: joelatgrimthinking
« on: December 04, 2019, 10:45:24 AM »

I've been using the Terrain Grid System (which is incredible and has saved me so much time!) up to this point with Terrain game objects and haven't had any problems selecting cells in the editor. However, I recently started working on an indoor scene and, instead of using a Terrain game object, used a root game object containing many floor tile meshes as the "terrain" for the grid. The grid generated as expected, but I noticed that I was unable to select cells in the grid that weren't on top of something with a mesh.

Here's a screenshot of what I mean:

You can see the blue border around all the floor tiles that are under the root game object. If I click any of the cells inside the blue outline, things work as expected, but if I try to select any that fall outside of the blue outline, nothing happens.

For some background, how I'm using the system is overlaying a single grid over the level and then marking individual cells invisible to customize the look of the grid. In this case, I'd like to select all the cells that fall outside the map and mark them invisible, but I'm unable to select them.

It seems to be that a click event isn't registering unless there's a mesh under the cell? I say that because if I add a plane game object under the root to effectively make the area a square so that all cells are on a mesh, then I can select them.

Is there a simpler workaround for this other than what I'm doing? If not, I can make do!