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

Improve wall collision resolution #4

Open
jasharpe opened this issue Aug 6, 2011 · 1 comment
Open

Improve wall collision resolution #4

jasharpe opened this issue Aug 6, 2011 · 1 comment

Comments

@jasharpe
Copy link
Owner

jasharpe commented Aug 6, 2011

Currently when a tank hits a wall, it simply kills all of its velocity. It would be better if it just killed its velocity in the direction perpendicular to the wall, while allowing the tank to "slide" along the wall. This would help prevent players from getting stuck, and help AI not be stupid.

@jasharpe
Copy link
Owner Author

Made an attempt at this, but the tank tends to look really jittery and this is harder than I expected. Leaving it on the table for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant