Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Weapons can be held past solid terrain if the middle of the gun ends up being held there

Đang mở
#54 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
38/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
cpp
Lĩnh vực
game-dev

Hướng nghiên cứu

Start by locating the terrain clipping function and the weapon holding code for the BG arm; reproduce with dual wielded browncoat Stingers beside a closed door or lone metal ladder. Trace how clipping checks the weapon against terrain when its middle is beyond the obstacle. The issue suggests ray casting from the middle of the Arm or AHuman; done means the weapon cannot pass through solid terrain or fire through it.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug

Describe the bug
The accounting for terrain clipping function only seems to actually work as intended if it's dealing with a gun that can't be held so far forward that the middle of the gun ends up completely past solid terrain. This is very easy to see with the Stinger held in the BG arm, because it's a large weapon held out very far.

To Reproduce

  1. Dual wield two browncoat Stingers
  2. Push up against some thin terrain, like a closed door or a lone standing metal ladder
  3. Observe as the BG Stinger is held completely past the terrain and you can fire through to the other side

Expected behavior
Accounting for terrain clipping should always work even when the device is held very far forward.

Additional context
The function will probably have to be rewritten a little to cast a ray from the middle of the Arm (or even the AHuman) itself so it can't accidentally miss terrain.

Ngôn ngữ chính
C++
Star
329
Fork
47
Merge trung bình
6 ngày 10 giờ
Pull request đã merge (30 ngày)
14

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của cortex-command-community/Cortex-Command-Community-Project

Tất cả issue của cortex-command-community/Cortex-Command-Community-Project

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.