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

Arcade Circle body collision causes strange effects #579

Open
Screeze opened this issue Aug 5, 2018 · 2 comments
Open

Arcade Circle body collision causes strange effects #579

Screeze opened this issue Aug 5, 2018 · 2 comments

Comments

@Screeze
Copy link

Screeze commented Aug 5, 2018

This Issue is about

  • A bug in the API:
    • Phaser version(s): Phaser CE v2.11.0
    • Live example: https://codepen.io/anon/pen/jppVdd
    • What should happen: Circle bodies should collide well with each other and with squares
    • What happens instead: Collisions between circle bodies cause strange movements of the balls. Additionally colliding a circle with the edge of a square also has sometimes strange effects

Please see the example codepen and observe the balls and their behaviour. They start shaking sometimes when colliding and changing to weird directions.

I think this is a framework bug, but in case I made a mistake please tell me :)

Would be very nice if someone could fix this! Thanks!

edit:
You can sometimes even observe this in the official example: https://phaser.io/examples/v2/arcade-physics/circle-body
But its better visible in my codepen

@nazimboudeffa
Copy link

nazimboudeffa commented Sep 8, 2018

It's like if the balls bounce twice od three times between them then go in the oposit direction, and another comportement is when they just turn a little bit around then go ahead

It looks like if the bounce value is under the velocity value so it bounce more then only one time

@samme
Copy link
Collaborator

samme commented Jan 22, 2019

phaserjs/phaser#4256

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

No branches or pull requests

3 participants