Apple’s Scene Kit has a built in physics engine. However, we discovered it wasn’t accurate for particular cases. We decided to replace the physics engine with a Runge-Kutta method. ...
dice, orientations and quaternions
Generating random rolls of 6-sided dice is typically an easy task. Under iOS and Swift (4.1+), you can easily generate a random integer from 1 to 6 with the following Swift command:...