Scale Slice Modifier
A Scale Slice Modifier
will modify the scale vector of its Game Object, as if it is being sliced.
The Scale Slice Modifier
must have a Slicer Controller as an ancestor.
Properties
Property | Function |
---|---|
Do Not Update In Play Mode | When checked, this modifier will not update the scale of the Game Object when Unity is in play mode. This is useful if you want something else to take over control of the Game Objects scale. |
Original Scale | Used to set the scale of the Game Object before it is sliced. |
Details
To use this modifier, Adjust the Original Scale
property to set the 'pre-sliced' scale of the Game Object. The position can also be set by adjusting the Game Objects scale
property while the parent Slicer Controller is in edit mode.
Currently this is a very simple calculation. It does not take into consideration if parts of the object being scaled lay outside of the sliced bounds.
This simple method should be correct or close enough most of the time.
Note
It is recommended that you have the parent Slicer Controller in Edit Mode
when you are making changes to how an object is being sliced.
In most cases it is ok to make changes outside of edit mode, but if you are having issues with slices staying set, try making the adjustments in edit mode instead.