Pinned Loading
-
-
Noise generation at an arbitrary pos...
Noise generation at an arbitrary position for terrain 1void GenerateNoise(int width, int height, float scale, int octaves, int positionX, int positionY)
2{
3for (int y = positionY; y < positionY + height; y++)
4{
5for (int x = positionX; x < positionX + width; x++)
-
A* pathfinding
A* pathfinding 1public class NavigationGrid
2{
3public int width, height;
4public Cell[,] cells;
5 -
A* pathfinding for floating point co...
A* pathfinding for floating point coordinates 1public class FloatCell
2{
3public bool walkable = true;
4public float x, y;
5public int hCost, gCost, fCost;
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.