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

線のセンサを表現するLineSensorの実装 #916

Open
yunba28 opened this issue Nov 22, 2022 · 1 comment
Open

線のセンサを表現するLineSensorの実装 #916

yunba28 opened this issue Nov 22, 2022 · 1 comment
Labels

Comments

@yunba28
Copy link
Member

yunba28 commented Nov 22, 2022

追加する機能の内容 | Describe the solution you'd like

既存のCircleSensorに類似したLineSensorの実装を提案します。
CircleSensorが円での当たり判定を持っていたのに対し、LineSensorは線の当たり判定を持ちます。

その機能の追加によって解決する問題 | Is your feature request related to a problem? Please describe.

円では大きすぎたり小さすぎる当たり判定を線のような細い長い判定にすることで、2Dアクションゲーム等で武器を振る判定等が簡単に組めるようになります。

備考 | Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

No branches or pull requests

2 participants