[Solved] Infinite Grid

This has probably been answered a million time. Here is the Use Case:

I have a battle scene where the camera is rotatable around positive Y. The battle mechanics allow you to select your ship, then click anywhere on the Z plane and issue a move command. I was wondering is there is a simple way to display an infinite grid along the Z plane when you select your ship in order to give the user a sense of spacial context?

Almost like the Mass Effect image below but with a grid plane instead.
mass%20effect

Hope this helps.

There is a SpaceGridState in Simsilica/ Examples . It’s a 3D grid you need to modify it for 2D.

1 Like

I totally forgot about @pspeed’s grid. Thanks for reminding me :slight_smile:

I always intended that grid to recenter itself as you cross cell boundaries. For testing, it was nice to know where I was in space by how dim the grid was getting so I never went back and ‘fixed’ it. :slight_smile: