User Tools

Site Tools


en:modulebuilding:pathfinding-common-issues

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:modulebuilding:pathfinding-common-issues [2026/01/15 12:31] – [Do not put placeables across multiple tiles] juras17en:modulebuilding:pathfinding-common-issues [2026/01/15 12:48] (current) juras17
Line 41: Line 41:
 ===== Organize properly the plceables ===== ===== Organize properly the plceables =====
  
-As it was mentined in the introdction, when path is being found in the tileset, the character starts to move and it looks like it tries to avoid **placeables** on the route to the destination. +As it was mentioned in the [[en:modulebuilding:pathfinding-introduction]], when path is being found in the tileset, the character starts to move and it looks like it tries to avoid **placeables** on the route to the destination. 
  
 There is several rules of thumb about properly placing the placeables to not have the character stucked on the route. There is several rules of thumb about properly placing the placeables to not have the character stucked on the route.
Line 49: Line 49:
 This is probably not an issue with not-solid placeables like flowers, but it is an issue with solid placeables like trees, mushrooms etc. This is probably not an issue with not-solid placeables like flowers, but it is an issue with solid placeables like trees, mushrooms etc.
  
-**Always try to put placeales like trees to have its roots in one tile. +It may confuse the pathfinding mechanism.
-**+
  
 **Good and bad position of the tree in tiles: **Good and bad position of the tree in tiles:
 ** **
 {{:en:modulebuilding:walkmesh-tree-good.jpg?300|}} {{:en:modulebuilding:walkmesh-tree-bad.jpg?300|}} {{:en:modulebuilding:walkmesh-tree-good.jpg?300|}} {{:en:modulebuilding:walkmesh-tree-bad.jpg?300|}}
 +
 +==== Do not put two solid placeables with no space for the character ====
 +
 +This is the recipe for having the character stucked: Two solid placeables shall be not placed together with so small space that the character can't fit in between.
 +
 +**Good and bad positioning of the Log and Tree:
 +**
 +
 +{{:en:modulebuilding:walkmesh-placeable-close-good.jpg?200|}} {{:en:modulebuilding:walkmesh-placeable-close-bad.jpg?200|}}
 +
 +
 +==== Do not put solid placeable right next to tile solid object ====
 +
 +Similar applies when you place big placeable so close to the tileset object (like naother tree od stone or wall) that character can't walk acrooss.
 +
 +In some cases it's not problem, but in another it is. Be cautious about this scenario and test the map if it works properly.
 +
 +
 +
 +
en/modulebuilding/pathfinding-common-issues.1768480285.txt.gz · Last modified: 2026/01/15 12:31 by juras17