Report this content
We want the Dreams coMmunity to be a safe, diverse and tolerant place for everyone, no matter their age, gender, race, sexual orientation or otherwise. If you believe this content to contradict these principles, you can file a report for our coMmunity teams to investigate.
Note that misuse of the reporting tool will not be tolerated.Item being reported:
Hi, the trick to making this work is to start very simple and get the basics working before adding the harder slicing mechanics. Perhaps your first goal could be to make the block emit, animate and then have it stop when the user presses a button. Second goal could be to detect with a triggerzone how well the slab was positioned and display a score. Third might then be to spawn another block and make all the previous blocks shift down (or move the camera up). Then you can build up to the slicing mechanic.
I think the easiest to do the slicing would be to pre-slice your block into lots of thin slices and then use a trigger zone to make slices that don't fall within the zone drop away when you press the button and slices that fall within the zone fix in place.
A better but slightly trickier solution would be to have a library of slices of different widths and then use an array of triggerzones to detect which one needs to be emitted when the slab is activated. This has the advantage of looking better and performing better because each slab would only be a single object.
hope that helps you get started
thanks
Matt