playMaker

Author Topic: Folding a sheet of paper  (Read 2017 times)

eccoecco

  • Playmaker Newbie
  • *
  • Posts: 19
Folding a sheet of paper
« on: May 05, 2012, 12:34:12 PM »

I'm about to tackle a game where I have a sheet of paper with a drawing on either side and it's required to fold it multiple times.  I've been trying to think up a way in Playmaker to do this but am simply uncertain as to how I would even begin.  Only thing I've come up with is to photograph a real sheet of paper and simply sub-in the appropriate image but this will lead to me having to create a huge tree with many permutations.

Does the playmaker community have any suggestions as to how I might go about this?





Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: Folding a sheet of paper
« Reply #1 on: May 06, 2012, 02:16:08 PM »
I'd explore adding bones to the model. Then you could have folding animations, or manipulate bone rotations directly. You would need to make pre-built fold lines in the mesh, and restrict the rotation of the bones to act like hinges.

But it depends how much freedom you need in folding the paper. If the fold lines are completely arbitrary it gets a lot more complicated!