private void BuildBoat() { Connector gHull1 = CreateConnector(new Vector3(-4, 5, -4), new Vector3(MathHelper.ToRadians(0), MathHelper.ToRadians(45), MathHelper.ToRadians(0)), ConnectorType.Green); Connector gHull2 = CreateConnector(new Vector3(-4, 5, 4), new Vector3(MathHelper.ToRadians(0), MathHelper.ToRadians(90), MathHelper.ToRadians(0)), ConnectorType.Green); Connector lgHull1 = CreateConnector(new Vector3(0, 5, -8), new Vector3(MathHelper.ToRadians(0), MathHelper.ToRadians(270), MathHelper.ToRadians(0)), ConnectorType.LightGrey); Connector lgHull2 = CreateConnector(new Vector3(0, 5, 8), new Vector3(MathHelper.ToRadians(0), MathHelper.ToRadians(135), MathHelper.ToRadians(0)), ConnectorType.LightGrey); Connector yMast = CreateConnector(new Vector3(0, 5, 0), new Vector3(MathHelper.ToRadians(0), MathHelper.ToRadians(90), MathHelper.ToRadians(0)), ConnectorType.Yellow); Connector ySail = CreateConnector(new Vector3(3.7f, 5, 0), new Vector3(MathHelper.ToRadians(0), MathHelper.ToRadians(180), MathHelper.ToRadians(0)), ConnectorType.Yellow); Connector lgSail1 = CreateConnector(new Vector3(14.4f, 5, 0), new Vector3(MathHelper.ToRadians(0), MathHelper.ToRadians(180), MathHelper.ToRadians(0)), ConnectorType.LightGrey); Connector lgSail2 = CreateConnector(new Vector3(3.7f, 5, -10.6f), new Vector3(MathHelper.ToRadians(0), MathHelper.ToRadians(-45), MathHelper.ToRadians(0)), ConnectorType.LightGrey ); Rod bRod1 = CreateRod(new Vector3(0, 6, -4), new Vector3(MathHelper.PiOver2, 0, 0), RodType.Blue); Rod bRod2 = CreateRod(new Vector3(0, 6, 4), new Vector3(MathHelper.PiOver2, 0, 0), RodType.Blue); Rod bRod3 = CreateRod(new Vector3(-4, 6, 0), new Vector3(MathHelper.PiOver2, 0, 0), RodType.Blue); Rod wRod1 = CreateRod(new Vector3(-2, 6, -6), new Vector3(MathHelper.PiOver2, -MathHelper.PiOver4, 0), RodType.White); Rod wRod2 = CreateRod(new Vector3(-2, 6, 6), new Vector3(MathHelper.PiOver2, MathHelper.PiOver4, 0), RodType.White); Rod gRod1 = CreateRod(new Vector3(1.85f, 6, 0), new Vector3(MathHelper.PiOver2, MathHelper.PiOver2, 0), RodType.Green); Rod yRod1 = CreateRod(new Vector3(3.7f, 6, -5.3f), new Vector3(MathHelper.PiOver2, 0, 0), RodType.Yellow); Rod yRod2 = CreateRod(new Vector3(9f, 6, 0), new Vector3(MathHelper.PiOver2, MathHelper.PiOver2, 0), RodType.Yellow); Rod rRod1 = CreateRod(new Vector3(9f, 6, -5.3f), new Vector3(MathHelper.PiOver2, MathHelper.PiOver4, 0), RodType.Red); JoinConnectorRod(gHull1, bRod3, SocketLocation.BottomRight, true); JoinConnectorRod(gHull2, bRod3, SocketLocation.Top, false); JoinConnectorRod(gHull1, wRod1, SocketLocation.Top, true); JoinConnectorRod(gHull2, wRod2, SocketLocation.BottomRight, true); JoinConnectorRod(lgHull1, wRod1, SocketLocation.TopRight, false); JoinConnectorRod(lgHull2, wRod2, SocketLocation.Top, false); JoinConnectorRod(lgHull1, bRod1, SocketLocation.Top, true); JoinConnectorRod(lgHull2, bRod2, SocketLocation.TopRight, true); JoinConnectorRod(yMast, bRod1, SocketLocation.Top, false); JoinConnectorRod(yMast, bRod2, SocketLocation.Bottom, false); JoinConnectorRod(yMast, gRod1, SocketLocation.Right, true); JoinConnectorRod(ySail, gRod1, SocketLocation.Top, false); JoinConnectorRod(ySail, yRod1, SocketLocation.Right, true); JoinConnectorRod(ySail, yRod2, SocketLocation.Bottom, true); JoinConnectorRod(lgSail1, yRod2, SocketLocation.Top, false); JoinConnectorRod(lgSail1, rRod1, SocketLocation.TopRight, true); JoinConnectorRod(lgSail2, yRod1, SocketLocation.TopRight, false); JoinConnectorRod(lgSail2, rRod1, SocketLocation.Top, false); }