You are welcome. This is the best way of doing the things because it takes into account the actual animation frame, not just the origin of the model.