Func portal orientation

It adjust the rotation of a portal to match a specified angle.