void MultithreadedStateUpdate(int i)
{
Entity entity = manager.entities[i];
backBuffer[i].Position = entity.position;
backBuffer[i].Orientation = entity.orientation;
backBuffer[i].LinearVelocity = entity.linearVelocity;
backBuffer[i].AngularVelocity = entity.angularVelocity;
}