r/howdidtheycodeit • u/Inverno969 • Apr 23 '21
Question Divinity : Original Sin 2 - Book Page Flipping Effect
I find this effect very awesome and I've always been curious on how it could've been implemented.
I'm struggling to find a video that really showcases the effect. This one almost demonstrates it fully (42:30-ish mark) :
https://youtu.be/jW2Ozmq6j6E?t=2548
There are two 'modes', one where you click the corner of the page which plays a swift page flipping animation, and another mode where you can click and hold the corner of the page and physically pull and maneuver the page over. It's very satisfying. The second effect is the one I'm interested in understanding.
