this is for physics in a game.
I am using box 2d engine so the physics is already handled.
please look at my attachment pic, it explains it quite simply
basically i need to split x velocity into x and y velocity when trying to walk up a slope, and for some reason i can't figure out the right formula
any help would be greatly appreciated!
Music is life