Search the Community
Showing results for tags 'way'.
-
Hey! We released our new game that was in development for some time now. Find the way is a puzzle board game with moving obstacles. Android version is released today. You can check it out here (Free download ) : http://bit.ly/2c0g2E6 I uploaded a few screenshots here to get the general idea. You can find intro video and full descrption in the link above. iOS version is in development and is coming soon Enjoy, Matija
-
Hi! We are working on a puzzle board game called Find the way . It is made for mobile devices. Release date is close so we wanted to give you a heads-up. You can see the intro video here : Feel free to comment and share Thank You!
-
Hi there, by default it seems the ANIMATIONTYPE_QUATERNION slerps between 2 quaternions the short way (270 degrees turns into -90 for instance). If I compute the angle between the 2 quaterinon and determine that it's more than 180, how would I go about slerping it the long way? I tried looking at the code but variable names such as num1 num2 num3 num4 num5 num6 didn't really help Any help appreciated! Cheers, Quaternion.Slerp = function (left, right, amount) { var num2; var num3; var num = amount; var num4 = (((left.x * right.x) + (left.y * right.y)) + (left.z * right.z)) + (left.w * right.w); var flag = false; if (num4 < 0) { flag = true; num4 = -num4; } if (num4 > 0.999999) { num3 = 1 - num; num2 = flag ? -num : num; } else { var num5 = Math.acos(num4); var num6 = (1.0 / Math.sin(num5)); num3 = (Math.sin((1.0 - num) * num5)) * num6; num2 = flag ? ((-Math.sin(num * num5)) * num6) : ((Math.sin(num * num5)) * num6); } return new Quaternion((num3 * left.x) + (num2 * right.x), (num3 * left.y) + (num2 * right.y), (num3 * left.z) + (num2 * right.z), (num3 * left.w) + (num2 * right.w)); };