Ok, so how would I go about applying the rotation?
I want the portal to lay against the object, so I figure I'll have to rotate it 90 degrees to achieve that, but how would I go about checking what surface it lays against? ( how would I check which value or values(x,y,z) I have to rotate it)