Physic Constraints

same thing with the axis. turning the physics constraint doesnt do anything. so how do i make that for example a door is only openable in one direction?