If the number of cells in a pathfinding grid was odd, the last cell was incorrectly saved as 0.
adrientd
But hey, it's early development, bugs are to be expected
pegperegogaucho
HAH! i noticed that
pegperegogaucho
thank god it was nothing serious
pegperegogaucho
💨
pegperegogaucho
could you give me a rundown on what detectors are/do?
adrientd
In short, they are collision shapes that trigger event sequences when a scene node (often Asterix or Obelix) collides with them.
adrientd
There are three collision shapes: bounding boxes, spheres and rectangles.
adrientd
The rectangles are one-sided, which means it will trigger when you move Asterix through it in one way but not the other way.
adrientd
For example, one of the pink ones here is one that disables the potion, and maybe you might have noticed that the potion gets disabled only if you move from the ashtray to the barrel but not the other way.
pegperegogaucho
ah, so they are used for example to switch choreographies if you approach a squad?
adrientd
could be used to trigger anything (via sending events)
adrientd
And yes, at the beginning of Helvetia for example there is one rectangle that will make the romans start to move
pegperegogaucho
also
adrientd
Another example
adrientd
This one will trigger the talk with "Sam"
adrientd
You can see that you go just jump above it if you have the potion