Providing an offset for Follow Action

I’m building a football game wherein I’m having the layer following a particular player using Follow action as he moves in the game field.But the player is always centered followed.Is there any way I can introduce an offset to the existing code for Follow Action so that the Follow Action will follow the player relative to it’s position on the game field and not centre follow it?

I’ve found the solution for this.Details at Follow action cocos2d-x v3.2. Why always centered followed?.

Also, you can directly share the solution post because in case the thread too huge, then finding solution post would be difficult. As you would know, the share option is just below each post.

:smile: