0 我想鎖定用戶在各個方向旋轉視圖的能力。我只需要在左側和右側進行模型旋轉。我怎樣才能做到這一點?只允許在一個方向上攝影控制 來源 2015-12-16 Marriage +0 你可以看看http://stackoverflow.com/questions/25654772/rotate-scncamera-node-looking-at-an-object-around-an-imaginary-sphere,並將它適應到你的更簡單的情況。 – mnuages
0 您無法使用.allowsCameraControl設置來實現此限制。您必須自己實施它,如SCNCamera limit arcball rotation中所述。 來源 2015-12-16 19:42:24
你可以看看http://stackoverflow.com/questions/25654772/rotate-scncamera-node-looking-at-an-object-around-an-imaginary-sphere,並將它適應到你的更簡單的情況。 – mnuages