Arcade Circle body collision causes strange effects

Aperta
#579 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
34/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
javascript
Ambito
game-dev

Direzione di ricerca

Start by reproducing the shaking and unexpected direction changes in the linked CodePen, then compare the behavior with the linked Phaser CE v2.11.0 circle-body example. Inspect the Arcade Physics circle collision handling for collisions between circles and between circles and square edges; done means those collisions behave consistently without shaking or unexpected movement.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

help wanted

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

Lingua principale
JavaScript
Stelle
1.4k
Fork
485
Merge medio
1g 2h
PR unite (30g)
9

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di phaserjs/phaser-ce

Tutte le issue di phaserjs/phaser-ce

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.