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

Aperta
#191 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
csharp, unity
Ambito
game-dev

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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).

Lingua principale
C#
Stelle
135
Fork
15
Merge medio
24m
PR unite (30g)
90

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di RadicalCSG/com.chisel

Tutte le issue di RadicalCSG/com.chisel

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.