Core Animation is commonly referred to as "2.5D" It lets you create animations of flat objects (layers) in 3D. It does NOT let you manipulate 3D objects.I've done some research on CATransformLayers, but everything I've seen only shows folding/flipping along a straight line axis. I've been struggling to try to figure out what I need to do to accomplish what I want: creating a basic paper airplane fold animation on a UIImageView with all of it's subviews, etc in the hierarchy. The below pictures show what I want to accomplish if it's technically doable. The numbers on the blue paper indicate the folding steps the animation should do in that order.
If anyone can point me in the right direction or care to post your thoughts I'd greatly appreciate it
Core animation deals with flat, rectangular 2D objects in 3D space. You can have different 2D objects at different angles to each other, but that's it. No folds of any kind. The only way you'd be able to do that is to break each part where there is a fold into 2 parts, and set them up so they intersect so it LOOKS like a fold. It would be awful.Duncan, thank you for your kind and much appreciated input.
I'd like to throw some ideas at you: What if I create CAShapeLayers using UIBezierPaths to create non rectangular shapes (for the triangle/parallelogram
small paper folds), and then render my UIImageView with it's subviews into these respective CAShapeLayers. No idea about how to fold these layers currently, just wanted to see what your thoughts were on my CAShapeLayer idea to at least get me started.
Thank you again!