phaser-ce-examples
phaser-ce-examples copied to clipboard
Asteroids ship movement is strange
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? :-)
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)
The drag is applied separately on the X/Y axes.