Page 1 of 1

Hide demolisher segments individually

Posted: Thu Sep 10, 2026 8:47 pm
by sparr
I'm working on a mod with Dune/Beetlejuice style sandworms and I'd like to use segmented-unit to take advantage of all the existing engine support for them.

The single biggest blocker for me is that there seems to be no way to make a single segment invisible, which I need to do one segment at a time as the worm burrows underground or rises out of the desert.

Candidates:
  • LuaSegment.render_to_forces
  • SegmentPrototype.animation as RotatedAnimationVariations instead of RotatedAnimation, then LuaSegment.graphics_variation
  • ??