pivot

How do i make a pivot that rotates in a game?
I have used armatures to say make a human elbow, but that of course distorts because the arm is all one item.
With a pivot, there are two distict items so i need them to hinge.
I am new to blender so please be detailed!
If you know of a tut is it for the version 2.34?
thanks
jim