         let lightnode = SCNNode()
         lightnode.light = SCNLight()
         lightnode.light!.type = SCNLight.LightType.directional
-        //lightnode.light!.color = CGColor(red: 0.0, green: 1.0, blue: 0.0, alpha: 1.0)
+        lightnode.light!.color = CGColor(red: 0.0, green: 1.0, blue: 0.0, alpha: 1.0)
+        print("toManyRelationshipKeys: \(lightnode.light!.toManyRelationshipKeys)")
+        print("toOneRelationshipKeys: \(lightnode.light!.toOneRelationshipKeys)")
+        print("debugDescription: \(lightnode.light!.debugDescription)")
         lightnode.position = SCNVector3(x: 0, y: 100, z: 10)
         scene.rootNode.addChildNode(lightnode)
         
-        scene.rootNode.addChildNode(mmdScene.rootNode)
-        
-        print("joints: \(miku.joints!.count)") // 63
-        // index 3 でエラー
-        for index in 0..<59 {
-            scene.physicsWorld.addBehavior(miku.joints![index])
+        for node in mmdScene.rootNode.childNodes {
+            scene.rootNode.addChildNode(node)
         }
-        //scene.physicsWorld.addBehavior(miku.joints![3])
+        
         //miku.addPhysicsBehavior(scene: scene)
 
         view.scene = scene

        #endif

        return
        
        
        // create and add a camera to the scene
        //let cameraNode = SCNNode()
        //cameraNode.camera = SCNCamera()
        //cameraNode.camera?.automaticallyAdjustsZRange = true
        //scene.rootNode.addChildNode(cameraNode)
        let cameraNode = MMDCameraNode()
        scene.rootNode.addChildNode(cameraNode)
        

        
        
        // create a character node from file
        let modelNode = MMDSceneSource(named: "art4.scnassets/una/音街ウナ（公式モデル）Sugar.pmx")!.getModel()!
        scene.rootNode.addChildNode(modelNode)
        mikuNode = modelNode
