I’ve added this script to my game which rotates the Platform;
CurrentPlatform.transform.Rotate (Vector3.right, RotationSpeed * Time.deltaTime);
But this code rotates the box collider like I want but the mesh of the object is not rotating, the mesh ends just slants one way. Does anyone know how to edit this line of code so the mesh and the box collider stays aligned so the platform rotates with the collider?