We propose and investigate a compact optical fiber sensor that aims to measure the torsion in both amount and direction with high sensitivity. This sensor is configured by a triangular-prism-shaped long-period fiber grating, which is fabricated by th