Cut Prefab Constructor

Inherits from Generic Prefab Constructor. This constructor should be applied to any prefab that will be used for the perform of a Cut Action, since it sets the plane in which the Cuttable Object will be cut.

Variable Name

Type

Description

Cut Tools

List of GameObjects/Prefabs

The GameObjects that will be used to cut the Cuttable Object.

Cut Victim Name

String

The name of the Cuttable GameObject in the Scene

Angle Error Threshold

Integer

The error threshold in degress between the Cutting Tools and the plane of the constructor that was set.

Prefab Creation Requirements

  1. Rigidbody

  2. Trigger Collider that surrounds the Cuttable Object