[BUG] circle collision seems inaccurate, seemingly when the clip is not a perfect square
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- javascript
- 領域
- game-dev
調査の方向性
まず NewHitsDemo.wick を開き、clip の高さを縮めた後に circle-mode の衝突を再現します。circle hitbox の計算を追跡し、その半径を clip の原点から最遠点までの距離と比較します。非正方形の clip が期待される境界で交差を報告すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
for the circle hit mode, circle hitboxes seem to have a weird size when the width and height of the clip are different
To Reproduce
Steps to reproduce the behavior:
- download, unzip, and open NewHitsDemo.wick.zip
- take one of the objects and squish the height down
- run project and use circle mode
- take note of where the intersections claim to be
Expected behavior
the circle hitbox should have a radius equal to the distance between the origin of a clip and the farthest point away from it, as implied in the demo if you don't squish one of the clips
Screenshots
https://github.com/user-attachments/assets/59329644-642b-4752-b311-424073027e9b
1.19.3 and development version
Do you have a suggested solution to this issue? (ex. has another program fixed this bug a certain way? Are you familiar with where in the code base someone would need to fix this issue?)
the only thing i can think of is that maybe the circle hitbox takes some middle value of the width and height, but i can't be sure until looking into the actual code
- 主要言語
- JavaScript
- スター
- 53
- フォーク
- 22
- 平均マージ
- 2日 10時間
- マージ済み PR(30日)
- 12
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Candlestickers/Candlestick のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
Candlestickers/Candlestick#255 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
Candlestickers/Candlestick#240 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Candlestickers/Candlestick#239 ·
メンテナーはふだん 1 日以内に返信
-
[BUG] frames with names lose their circle対応中かも @BaronAWC が 5 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Candlestickers/Candlestick#237 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
Candlestickers/Candlestick#203 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
Candlestickers/Candlestick の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
tshemsedinov/reslop#158 ·
メンテナーはふだん 1 日以内に返信
-
level/task type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
wazuh/wazuh-documentation#10398 ·
メンテナーはふだん 1 日以内に返信
-
app_installations reports an error on every repo or suborg change when the plugin is not configuredオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
github-community-projects/safe-settings#1111 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信