- Home /
Point me in the right direction: how do I create objects with meshes and textures all the way through like in real life?
I'd like to create an application that can twist and strech 3D objects and then cut right through them. An example:
Lets say I have tree. I'd like to be able to twist the tree by rotating each side in different directions. Afterwards I'd like to cut right through the tree and the pattern inside the tree should be what you'd expect in real life.
I realize a short answer as to how to do this might be very hard. I'm looking for a pointer towards some research or projects that could help me. Related terminology is also useful.
Answer by MasterPDON · Apr 15, 2014 at 01:58 PM
The twisting effect may be possible if you use bones. probably 2 bones, one on each side of the tree. then, rotating the bones in opposite directions will cause the skinned tree to twist. As for the 'cutting through' part, you'll have to destroy that present twisted tree and then instantiate a tree that has already been twisted and cut in the modeling software. the transverse section of the tree should have a textured face where it was cut. no one would know it was a different tree. :)
I appreciate that, but it's the last part of your answer that is the most important. I'm not making a game, rather it's a complex application and the part of me discovering the pattern when cut through - that's something I can't possibly "fake" - I need to simulate it.
YOU CAN'T..........Unless it's possible to split meshes and extrude edges (to make a face) during runtime.
Your answer
![](https://koobas.hobune.stream/wayback/20220613142750im_/https://answers.unity.com/themes/thub/images/avi.jpg)