Knees are designed to bend ONE way. Make them bend in any of the other three ways, and you can do what you want.
same with elbows