private void ApplyRandomTorque(SCNPhysicsBody physicsBody, float maxTorque) { var randomAxis = new SCNVector3((float)random.NextDouble(), (float)random.NextDouble(), (float)random.NextDouble()); randomAxis = SCNVector3.Normalize(randomAxis); var randomTorque = new SCNVector4(randomAxis, (float)(random.NextDouble() * 2d - 1d) * maxTorque); physicsBody.ApplyTorque(randomTorque, true); }