Skip to main content

Break Flipbook

Places the contents of a flipbook 2D texture array animation onto the face of the voxels. This can be used to create a 'break' animation.

You can find this break animation prefab in the #free-stuff channel on our Discord


General Settings​

Break Animation Flipbook​

The flipbook animation. This needs to be a 2D texture array.

Frame​

The currently displayed frame of the animation flipbook, but normalized to the frame count so that it's always in the range of 0;1.

tip

You can animate this value from 0 to 1 to go through the whole flipbook.

Details​

A value of 0 always means that the flipbook is not shown.

The nth frame can be calculated using:

NormalizedFrame=⌊(FrameIndex+1)/FrameCount⌋NormalizedFrame = \left\lfloor (FrameIndex + 1) / FrameCount \right\rfloor

So the 0th frame of the flipbook can be calculated using:

NormalizedFrame=⌊1/FrameCount⌋NormalizedFrame = \left\lfloor 1 / FrameCount \right\rfloor

A value of 1 always shows the last frame of the flipbook.

Frame Count​

The number of frames in the flipbook.

You can find out the number of frames that a 2D texture array has by looking at the texture preview window in the texture inspector. You might need to drag the preview window out first to see it.

Scale​

Determines the size of the flipbook as it will be applied to the material.

  • Large values will make the flipbook look more repeated.
  • Small values will shrink the flipbook image.