Libraries

s&box libraries list

Slice Mesh

grubs.slicemesh

cut a ModelRenderer in two

About

sbox-slice-mesh

cut a model in two

How to use

  1. add a MeshSlicerComponent to the object you want to cut (for example, a cube)
  2. add a SliceDebugInput component to your player/controller
  3. aim at an object with MeshSlicerComponent and press attack1 to slice it into two hulls

view the SliceDebugInput component to see how to use SliceAndSpawnWorld