aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/AI.h
diff options
context:
space:
mode:
authormax-001 <maxsmits21@kpnmail.nl>2024-12-11 14:10:43 +0100
committermax-001 <maxsmits21@kpnmail.nl>2024-12-11 14:10:43 +0100
commit0dbbbe4bac4ad4fcb9e88908034e90000056363e (patch)
tree7305c4f88bf177cb8dd704eb9363d3935325804f /src/crepe/api/AI.h
parent6f89e67c9b2dfcb182ed2fa9d9a0ea7afa53fbf0 (diff)
Implemented feedback
Diffstat (limited to 'src/crepe/api/AI.h')
-rw-r--r--src/crepe/api/AI.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/crepe/api/AI.h b/src/crepe/api/AI.h
index 4f7692b..c780a91 100644
--- a/src/crepe/api/AI.h
+++ b/src/crepe/api/AI.h
@@ -121,6 +121,8 @@ private:
static constexpr int MIN_STEP = 16;
//! The radius to step size ratio for the path following behavior
static constexpr float RADIUS_TO_STEP = 400.0f;
+ //! The path node distance factor for the path following behavior
+ static constexpr float PATH_NODE_DISTANCE_FACTOR = 0.75f;
};
} // namespace crepe