Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by dipam · Jan 01, 2017 at 11:18 AM · 2d game

Can anyone show tell me the how to do Paper Folding Mechanism in unity?

Hi developers, I am working with unity in for last 1 year and still learning. I want to learn how to make a "Paper folding game" like Paperama and i want to add a Polygoncollider to the sprite object or the gameobject so that the final shape will form a collidable body. Thanks in advance.

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Mike-Geig ♦♦ · Jan 01, 2017 at 03:59 PM 0
Share

That is a fairly advanced question that isn't really suited to this format. The answer touches upon shader use, mesh deformation, custom UI/UX, and a lot of math. I don't believe there is one standard way to do what you want. I guess, if I were you I would start with the $$anonymous$$esh class. See if you can take a quad (2 triangles), and then tessellate it so that it has 4 or more triangles. Then see if you can bend it along one of its edges. You can also do some searches on "$$anonymous$$esh Deformation" which should get you started.

Happy New Years

avatar image dipam Mike-Geig ♦♦ · Jan 02, 2017 at 04:26 AM 0
Share

Thank you $$anonymous$$ike. I will try.

1 Reply

· Add your reply
  • Sort: 
avatar image
4

Answer by valiantjohn123 · Jun 27, 2017 at 12:49 PM

You don't need mesh and all for this, all you need is UI Image and Mask. Check this video to get better idea https://www.youtube.com/watch?v=CUW3fGEK9as You can download that project from here http://gnupart.tistory.com/entry/Unity3D-Simple-Page-Curl-Effect

This only works for single fold, that too from only one corner. If you want multi-folds then you can contact me, I made one similar project.

Comment
Add comment · Show 5 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image TheAmazingB74 · Apr 07, 2018 at 12:25 AM 0
Share

would it be possible to see this?

avatar image valiantjohn123 · Apr 07, 2018 at 01:13 AM 0
Share

See what? $$anonymous$$y project? It's not there anymore, I made it long ago

avatar image Danielpunct · Mar 05, 2019 at 02:01 PM 0
Share

Hey valiantjohn123, Could you tell me more about multiple folds situation? I have some ideas but I can't seem to find too much information about this anywhere. Do you already have a working mechanic you could share for study or any pointers to some viable solutions ? Thanks ! Nice day !

avatar image unity_YwW-JFpeR3CQKw · Jan 12, 2020 at 07:47 PM 0
Share

Hello valiantjohn123, I am interested by your solution for multiple folds for school researches, have you got a sample projects or anything that could help me achieve the desired effect ? That would help me a lot, thank you ! :)

avatar image valiantjohn123 · Aug 01, 2020 at 06:43 PM 1
Share

You can find the completed project here, it supports till 8 folds. Its code is not well optimized. https://github.com/valiantjohn123/PaperFolding/

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

95 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Changing Variables on one script with multiple other scripts 1 Answer

How should create a map for a top-down tile based 2d game? 1 Answer

White (not transparent) background in sprite [graphicsgale] 0 Answers

Simulating 2D depth in a sidescroller 0 Answers

How do I make a game like line zen style 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges