Sunday, 5 April 2015

Environment rotation issues...

Before the first demo session I have started working on environment rotation mechanics. I started with easiest solution which would be to rotate the parent of all child wall objects with transform.Rotate() function. Unfortunately it didn't seem to work properly. Then I tried couple other solutions including changing object rotation through transform.rotation by creating a quaternion to change it to. This included using Euler angles to set the values of the quaternion. I have also tried out RotateAround() method and it also didn't seem to be accurate enough.. I am yet to find a working solution to that problem and since animations are most important in this project I will focus on those for now and get back to this problem later.

No comments:

Post a Comment