So I’m working on a project where I need to animate a book-like object, open and closing the book page by page. The way I did it is by rigging the object with skeletons and implementing IK to achieve a more realistic turn page animation.
With this setup, a single page, the whole single page, is animated by a single chain of bones which mimics this page turn animation
Problem is, with that setup I can’t achieve a more detailed animation like this one
Is there a way to achieve the second animation example using bones? Or is there a better way of doing it?
I don’t know what FABRIK is. It’s best if you explain in full what you’re doing, what programs or libraries you’re using (including links), and if possible share a working coding example using Codepen.
I created my own algorithm and formula following the concept of FABRIK explained in the link above.
I don’t really have that much of a problem regarding FABRIK for implementing Inverse Kinematics on my bones since I was able to make it work but it does have its limitations. That’s why I’m asking if you could suggest any other approach, besides implementing IK, in order to achieve what I described on my post. What I wanted to know is what would be your approach to be able to achieve what I described on my post.
OK, thanks for adding the details. Personally, I would create the book model and animation in a separate modelling program such as Blender, then export it as glTF.
Unfortunately, I need to do the modeling in my code since the book dimensions and specifications are dynamic. So I’ll be generating the book programatically and on the fly.
Have you considered using physics? Each page geometry can be associated with a physics soft body object. You could control and pass the page over similarly to how the rope is attached to the crane in the webgl_physics_cloth example.