Skip to content
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

Bot falls off ledges #5

Open
ioan-chera opened this issue Aug 14, 2015 · 3 comments
Open

Bot falls off ledges #5

ioan-chera opened this issue Aug 14, 2015 · 3 comments
Assignees
Labels

Comments

@ioan-chera
Copy link
Owner

The bot has bad velocity control, and it tends to easily fall off ledges when doing L turns next to ledges. It happens in E1M3, as it falls into the outdoors slime pit when trying to pick some ammo and then go along the ledge.

@ioan-chera
Copy link
Owner Author

It can happen because the bot chooses the closest point of the next subsector boundary. It can be right at the end of it, which might intersect with an unrelated boundary that can fall into a pit. No matter how careful the bot would move there, chances are overwhelming that it will slip off.
falling

@sneakernets
Copy link
Contributor

I noticed this yesterday when testing through episode 1. rarely does it not fall.

@ioan-chera
Copy link
Owner Author

A couple of problems have been fixed:

  1. Don't go for the very endings of the crossing lines. This should prevent the pitfall pictured above.
  2. Based on current velocity, calculate the stopping distance. If at this distance there's a pit, make the bot slow down just in time.

There are still problems in some maps, e.g. Fava Beans E1M5 at the death pit near the exit.

@ioan-chera ioan-chera self-assigned this Aug 20, 2015
@ioan-chera ioan-chera added the bug label Aug 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants