Fix linear stairs: orientation, sizing, zero height and step handles

Đang mở
#191 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 1 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
25/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
csharp, unity
Lĩnh vực
game-dev

Hướng nghiên cứu

The issue covers the linear stairs generator and the shared rules for all generators; no source files are named, so start by locating the linear stairs generator in the Chisel code and reproducing each problem in the Unity editor. Item 4 needs investigation before any change: find what the second point on one side does. Done means the five listed behaviours are fixed, zero sizes are rejected, and negative sizes build valid shapes. The issue says more problems will surface after these fixes, so expect follow-up work.

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

Mô tả

Problems with the linear stairs. This needs more iteration: there are more issues, best identified once these are fixed.

  1. Default orientation. The stairs should default to running along the long side.
  2. Sizing down moves the bottom further down. It shouldn't.
  3. Zero height. Zero-height stairs shouldn't be allowed. Vertically inverted stairs can be allowed (though they're probably of limited use).
  4. The two points on one side. One changes where the steps end, before the top becomes flat. What the other one is meant to do isn't clear; find out, and make it do something useful or remove it.
  5. Sizing up past what fits at the current step size. The step size shouldn't change. Instead, the height where the steps start should go up, and that height should be draggable too.

Rule for all generators: negative sizes are allowed, and every generator builds a valid shape from them (swapping sides under the hood, so the brush is the right way out). A zero size is never allowed: creating at zero size cancels, and an existing generator can't be made zero sized.

Related: box (#184), capsule (#185), cylinder (#186), inspector values (#187), hemisphere (#188), sphere (#189), extruded shape (#190).

Ngôn ngữ chính
C#
Star
135
Fork
15
Merge trung bình
24 phút
Pull request đã merge (30 ngày)
90

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 RadicalCSG/com.chisel

Tất cả issue của RadicalCSG/com.chisel

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.