Translation relative to a certain rotation

maybe this post will help you get where you made mistake:

Here is example that could help you. When i look at this example, there is similar thing you want to achieve.