On the Details tab of the Beam: definition dialog, you can select beam end types.
Select beam end types for a beam that lies on an inclined plane: