You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Data/Base.rte/AI/HumanBehaviors.lua
-17Lines changed: 0 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -1182,23 +1182,6 @@ function HumanBehaviors.ToolSearch(AI, Owner, Abort)
1182
1182
returntrue;
1183
1183
end
1184
1184
1185
-
functionHumanBehaviors.GetRealVelocity(Owner)
1186
-
-- Calculate a velocity based on our actual movement. This is because otherwise gravity falsely reports that we have a downward velocity, even if our net movement is zero.
1187
-
-- Note - we use normal delta time, not AI delta time, because PrevPos is updated per-tick (not per-AI-tick)
Copy file name to clipboardExpand all lines: Data/Base.rte/AI/SharedBehaviors.lua
+37-2Lines changed: 37 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,22 @@
1
1
SharedBehaviors= {};
2
2
3
+
functionSharedBehaviors.GetRealVelocity(Owner)
4
+
-- Calculate a velocity based on our actual movement. This is because otherwise gravity falsely reports that we have a downward velocity, even if our net movement is zero.
5
+
-- Note - we use normal delta time, not AI delta time, because PrevPos is updated per-tick (not per-AI-tick)
0 commit comments