Yeah, hang a piece of wood or something over the side of the bed, attach a string, and attach something to the string. Use a marker and draw a line parallel to the string, and if you trust gravity, then you've got 90degrees
Hehe, slong as you garage/driveway is flat...