That is correct. To do this engineering the "right way," you need to calculate the statics of the robot to make sure it can stand still, and then add in the dynamics you want, which includes angular momentum, inertia tensors, and other 3D math.
i am supposed to select motors for the leg movement
It would be interesting to understand what skills you have, and what other skills are available on your team.
If you do not know any mechanics, nor any 3D math, then you're not very well prepared to do what you are supposed to do. So, either learn (which is a significant amount of learning,) or experiment (start with something, make it fail, figure out how to compensate, repeat,) or just ask for a specific recommendation from those who know.
To be able to answer a specific recommendation, we need to know how much the robot will weigh, how long each piece of the leg is, how fast it is supposed to move (in degrees per second) and how quickly it is supposed to be able to react (in degrees per second per second.)