I have defined a CircularShape named car having 3 points(displayed as triangle) and Circular shape field which is circular in shape, I want field to stay at tip of the car and move along with the tip of the car but the problem is when i run the program, they don't move together, some ambiguous behaviours is there I think there is some problem with position and origin of both the shapes please correct me, car's origin cant be changed though for some future purposes. Also can someone suggest me how can i ensure that my car+field doesn't move out of window boundary here is the code
ofcourse it would not run in codepad.org i have posted link just for conveinience purpose