- Home /
Making a paper like object on Unity.
i'm new to unity and game engines. i'm making a paper origami app. I'm just trying to figure out if unity is the right platform for my need. Is it possible to use the "interactive cloth" object like paper by modifying its properties? Also, does unity support all the folds in the cloth? Also, can I add forces according to user response on the cloth to make it fold? hope my question is not too vague..
Answer by kilian277 · Jul 15, 2013 at 10:47 AM
You could use a rigged plane and add a animation to the child joints to unfold the paper object
is it possible to add forces according to user input to deform the object like a paper?
Answer by xandermacleod · Dec 04, 2013 at 05:17 PM
your biggest issue with using the cloth method will be the mesh that makes up your page. Unless you have an extremely dense mesh, it will be very hard to get a clean looking fold. Not only that, the stiffness of the cloth will need to be maintained for every part of the mesh except for the folded line, which isn't very straight forward. My recommendation would be to either predict the possible folds and handle it through joints / blendshapes; or, if more professional origami shapes are needed, to use a lot of math to calculate the corners of your paper and its folds, then destroy and recreate the final object using multiple smaller planes at the moment a fold takes place. Whichever method you choose getting the paper to flexibly bend without folding will also be a nightmare. All in all, a very difficult challenge. But a very interesting one! Post up something, if you choose one solution over any of the others.