# Idea design
# Gather as much technology information as we will use to assist in our challenge development
# Nasa Earth Information - Search -
#Google Earth Information - Search -
# Separate function of each member for project organization
# Application Flow - Creation -
# app design - Creation -
# Gather information to put on slide and pitch presentation
# started to idealize MVP
# Study about the software used in MVP
# Search images to add in app
# MVP Creation
# Slide Creation
# Pitch Training
# Application Test
func setupScene(){ | |
letnode=SCNNode() | |
node.position =SCNVector3.init(0,0,0) | |
letleftWall=createBox(isDoor:false) | |
leftWall.position =SCNVector3.init((-length /2)+ width,0,0) | |
leftWall.eulerAngles =SCNVector3.init(0,180.0.degreesToRadians,0) | |
letrightWall=createBox(isDoor:false) | |
rightWall.position =SCNVector3.init((length /2)- width,0,0) | |
lettopWall=createBox(isDoor:false) | |
topWall.position =SCNVector3.init(0,(height /2)- width,0) | |
topWall.eulerAngles =SCNVector3.init(0,0,90.0.degreesToRadians) | |
letbottomWall=createBox(isDoor:false) | |
bottomWall.position =SCNVector3.init(0,(-height /2)+ width,0) | |
bottomWall.eulerAngles =SCNVector3.init(0,0,-90.0.degreesToRadians) | |
letbackWall=createBox(isDoor:false) | |
backWall.position =SCNVector3.init(0,0,(-length /2)+ width) | |
backWall.eulerAngles =SCNVector3.init(0,90.0.degreesToRadians,0) | |
letleftDoorSide=createBox(isDoor:true) | |
leftDoorSide.position =SCNVector3.init((-length /2+ width)+(doorLength /2),0,(length /2)- width) | |
leftDoorSide.eulerAngles =SCNVector3.init(0,-90.0.degreesToRadians,0) | |
letrightDoorSide=createBox(isDoor:true) | |
rightDoorSide.position =SCNVector3.init((length /2- width)-(doorLength /2),0,(length /2)- width) | |
rightDoorSide.eulerAngles =SCNVector3.init(0,-90.0.degreesToRadians,0) | |
//Adding Nodes to Main Node | |
node.addChildNode(leftWall) | |
node.addChildNode(rightWall) | |
node.addChildNode(topWall) | |
node.addChildNode(bottomWall) | |
node.addChildNode(backWall) | |
node.addChildNode(leftDoorSide) | |
node.addChildNode(rightDoorSide) | |
self.sceneView.scene.rootNode.addChildNode(node) | |
} |