mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Recast: set minimum distance default for traverse type 1 to 48
Type 1 can cause the AI to become stuck when a link is established within a hole that is too short. Testing revealed that any link beyond this length, wether its on a hole or gap, does not cause the AI to become stuck. Updated default.
This commit is contained in:
parent
1990a2d4b4
commit
0a4817a707
@ -89,7 +89,7 @@ static void initTraverseTableParams()
|
||||
{
|
||||
s_traverseTable[0] = { 0.f, 0.f, 0.f, 0.f, 0.f, 0.f, -1.f, false }; // Unused
|
||||
|
||||
s_traverseTable[1] = { 10.f, 120.f, 0.f, 48.f, 0.f, 67.f, 0.f, false };
|
||||
s_traverseTable[1] = { 48.f, 120.f, 0.f, 48.f, 0.f, 67.f, 0.f, false };
|
||||
s_traverseTable[2] = { 120.f, 160.f, 48.f, 96.f, 5.f, 78.f, 0.f, false };
|
||||
s_traverseTable[3] = { 160.f, 220.f, 0.f, 128.f, 0.f, 38.f, 0.f, false };
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user