Skip to content

Using floats between 0 and 1 on the 2D list #26

@alejcas

Description

@alejcas

Hi, I need to set some fields on the 2D matrix that have a 'walk cost' of a quarter of a movement point (0.2)
But when doing so, the pathfinding algorithm starts to do some weird things.
If I instead use only integers the pathfinding works just great.

Is there any chance of using floats?

I'm using the A* algorithm.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions