Finding the angle and drawing line

Hello!
I am using cocos2dx v 3.4 with chipmunk. I am making a Carom game. I want to draw the whole path of striker body. The path from striker towards disks and the path after colliding the disks and border.
I want to achieve this thing in cocos2dx v 3.4 with chipmunk

Sorry about my english