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

Asteroids ship movement is strange #184

Open
fquirin opened this issue Jan 21, 2018 · 2 comments
Open

Asteroids ship movement is strange #184

fquirin opened this issue Jan 21, 2018 · 2 comments

Comments

@fquirin
Copy link

fquirin commented Jan 21, 2018

I was playing around with the Asteroids example a lot and really enjoyed it even though there is nothing to do =)
There is one thing I noticed though. If you point your ship in one direction that is slightly of the horizontal or vertical and accelerate it will not fly in a straight line.
Is that a bug or a feature? :-)

@fquirin
Copy link
Author

fquirin commented Feb 1, 2018

Some updates on this:

  • it does only happen when you are using the ARCADE physics
  • it might be related to the damping/drag on the axis with lower velocity -> I think its most pronounced when you have a large x-axis and a low y-axis velocity (or vice versa)

@samme
Copy link

samme commented May 19, 2018

The drag is applied separately on the X/Y axes.

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

3 participants
@samme @fquirin and others