Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

corrected issue Status: Open. #28#101

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
Sparky1743 wants to merge1 commit intodotnet:main
base:main
Choose a base branch
Loading
fromSparky1743:main

Conversation

@Sparky1743
Copy link

Issue
Fixed a bug where bullets could pass through walls when tanks were positioned directly adjacent to them.
This occurred because no collision detection was performed when bullets were initially spawned. If a tank was placed right next to a wall and fired, the bullet would appear on the other side of the wall boundary.

Changes Made

  • Added collision detection at bullet creation time.
  • Created a temporary bullet object to validate the spawn position before actual creation.
  • Bullets are now only spawned if the initial position does not result in a collision.

Before
Screenshot 2025-04-21 012403

After
Screenshot 2025-04-21 014148

@Sparky1743
Copy link
Author

@dotnet-policy-service agree

@ZacharyPatten
Copy link
Collaborator

@Sparky1743 Thanks for your interest in contributing. :) I will review this pull request as soon as I can.

Sparky1743 reacted with thumbs up emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@ZacharyPattenZacharyPattenAwaiting requested review from ZacharyPattenZacharyPatten is a code owner

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@Sparky1743@ZacharyPatten

[8]ページ先頭

©2009-2025 Movatter.jp