Quantcast
Channel: Latest Questions by SatisfactorySam
Viewing all articles
Browse latest Browse all 42

How could I write a script to flip pages of a book?

$
0
0
Using the help of the community on Unity Answers, I have created a 3D book. The game I am creating is in first-person, and the player is able to bring out their book with 'e'. Each page is made up of 2 quads, and are able to rotate on their own local axis. The book itself is complete, but I'm unsure of how to write the script that will animate the pages. It would be great if you could help me out! Thanks. Also, I have already made a script that flips the pages fairly well, but I did it in a very ineffieciently. It was a very long, point-less script. I'm sure there are better ways to write the script. I prefer JavaScript, and excuse my vague question. I have been told that I don't usually include much information. This is a continuation of my previous 2 questions: http://answers.unity3d.com/questions/554933/how-could-i-create-a-book.html http://answers.unity3d.com/questions/555564/how-could-i-use-quads-to-make-a-book.html

Viewing all articles
Browse latest Browse all 42

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>