I'm fine with trig on paper, but I somehow have a mental block trying to apply it to my game, so maybe you guys can help
What I need is best summed up in this diagram:
In other words, the X and Y of the spot 30 (for example) pixels above the plane, but 'up' is the direction of the plane's floor to roof rather than ground to plane
So basically I need what to put in the X and Y fields of 'add force towards'.
Hope you can help