【ARKit,Objective-C】白い立方体を配置してみる

ARKitを使ってプロジェクトを作ります。

// Container to hold all of the 3D geometry
SCNScene *scene = [SCNScene new];
// The 3D cube geometry we want to draw
SCNBox *boxGeometry = [SCNBox
                       boxWithWidth:0.1
                       height:0.1
                       length:0.1
                       chamferRadius:0.0];
// The node that wraps the geometry so we can add it to the scene
SCNNode *boxNode = [SCNNode nodeWithGeometry:boxGeometry];
// Position the box just in front of the camera
boxNode.position = SCNVector3Make(0, 0, -0.5);
// rootNode is a special node, it is the starting point of all
// the items in the 3D scene
[scene.rootNode addChildNode: boxNode];
// Set the scene to the view
self.sceneView.scene = scene;

白い立方体は出てきたのだけど、アプリを起動する度に、配置場所、方向が違うから固定したいなー。