Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次のコードを使用して、SCNScene シーンのカメラ ノードを z 軸に沿って移動しています。
let moveTo = SCNAction.moveTo(SCNVector3(x:0,y:0,z:-40), duration: 40); cameraNode.runAction(moveTo)
カメラを停止するまでスムーズに減速するイベント (ゲームによって発生する GameOver イベントなど) を指定したいと思います。
カメラの動きをスムーズに止めるには?