Arcade Circle body collision causes strange effects

オープン
#579 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
34/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
javascript
領域
game-dev

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
JavaScript
スター
1.4k
フォーク
485
平均マージ
1日 2時間
マージ済み PR(30日)
9

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

phaserjs/phaser-ce のほかの issue

phaserjs/phaser-ce の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。