03-18-2021, 10:16 AM
(03-18-2021, 10:09 AM)Eric Piette Wrote: Hi,I want the reachable sites to be computed as if the piece had to actually take the walk, not changing it's direction along the way. So forwards should be the same at all the relevant sites as it is for that piece. Is this possible?
Depend what you mean by "forwards" here. Because Forward is a relative direction defined according to the facing direction of the piece (or if none, the facing direction of the player) like in Chess for the pawns.
However here, when you call that step move with Forwards and reach some empty sites, these sites does not have any pieces on it, so no facing direction and consequently no directions corresponding to the relative direction Forwards.
Regards,
Eric