-
-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AAS_PlayerMovementPrediction() doesn't handle friction correctly #324
Comments
I think I have found a fix for this issue: To make it clearer I will sum up the issue again: I have to admit that I don't really understand why using a modified version 'AAS_ApplyFriction' is fixing the issue, hence I didn't make a PR yet. In other words, if someone is interested in fixing this issue, than I can make a PR, but I would need help than, to better understand whats going on here.
The important thing seems to be 'newspeed = speed - frametime * drop;' |
Additionally I will add a small patch I made for World of Padman as a blueprint: |
Report from @KuehnhammerTobias:
Bots in all games have two main problems (actually there are more, but two issues are really obvious):
Both bugs are happen around here: https://github.com/zturtleman/spearmint/blob/master/code/botlib/be_aas_move.c#L592 in the function 'AAS_PlayerMovementPrediction'.
There are several problems:
In summary these lines are a major problem:
The text was updated successfully, but these errors were encountered: