Skip to content

feat: support partial elimination (cutting) for bent laser - #127

Open
RubikZero wants to merge 1 commit into
Legacy-LuaSTG-Engine:masterfrom
RubikZero:feature/partial-eliminate-bent-laser
Open

feat: support partial elimination (cutting) for bent laser#127
RubikZero wants to merge 1 commit into
Legacy-LuaSTG-Engine:masterfrom
RubikZero:feature/partial-eliminate-bent-laser

Conversation

@RubikZero

Copy link
Copy Markdown
  • segment rendering: contiguous active nodes split into independent strips per cut range
  • cut range anchored to laser tail, travels with the laser body; world-distance bridging merges cuts of one pass
  • new Lua API: Cut / GetActiveNodeCount / GetActiveNodes
  • collision and render share the single-node-segment exclusion rule
  • fix segment index offset: accumulate by actual vertex count (seg_len*2) so later segments do not span the cut band

- segment rendering: contiguous active nodes split into independent strips per cut range
- cut range anchored to laser tail, travels with the laser body; world-distance bridging merges cuts of one pass
- new Lua API: Cut / GetActiveNodeCount / GetActiveNodes
- collision and render share the single-node-segment exclusion rule
- fix segment index offset: accumulate by actual vertex count (seg_len*2) so later segments do not span the cut band
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant