Skip to content
Maximilian Schmöcker edited this page Apr 17, 2022 · 1 revision

Snappoints

To setup valid snappoints there are a number of requirements that must be met:

the parent GameObject

  • needs a Piece script attached
  • needs a collider component itself or as a child (any depth)
  • the GameObject of the collider needs to be in layer piece (layer 10) or piece_nonsolid (layer 16)

the snappoint

  • needs to be a direct child GameObject of the Piece
  • needs the snappoint tag
  • needs to be in a 0.5 radius of any collider face
  • can be disabled
  • often named _snappoint, but this is not necessary
Clone this wiki locally