Companion

Builds solids that move.

Functions

Link copied to clipboard
fun moving(left: Float, top: Float, right: Float, bottom: Float, tags: SolidTags = SolidTags.NONE, material: Material = Material.DEFAULT): Solid

Returns a new solid that is not tied to a grid cell, filling the given edges, for SolidGrid.add. Its top and bottom may change as it moves. Pass the edges by name.