// Generated by Phun v5.28 inclusive_range = (min, max)=>{min > max ? [] : {[min] ++ inclusive_range(min + 1, max)}}; SPH -> { kernelMultiplier = 1.0; influence = 2.0; viscMultiplier = 1.0; unilateral = true; friction = 0.0099999998; jitter = 0.0; restitution = 0.0; geomFieldOffset = 0.60000002; spikyKernel = false; geomFriction = 0.0049999999; surfaceTension = 0.0; radius = 0.050000001; density = 1.0; solveIters = 1; nonPenetration = true; bodin = false; vaporizeTime = +inf; pressMultiplier = 1.0; specialPressure = true; solveConst = 1e+08; bucketSize = 2.0; kernelNormalize = true; viscosity = 0.0; soundSpeed = 20.0; velocitySmoothing = true; geometryFields = false; solveD = 5.0 }; Sim -> { airFrictionQuadratic = 0.0; solvePreSortConstraints = false; solver = "gs"; cableMaxMassRation = 2.0; solveRegularizationFactor = 1.0; solveDconstraints = 5.0; solverSORPost = 1.0; adHocSolver = false; timeDelta = 0.0099999998; gravityStrength = 9.8000002; airSwitch = true; solverSORPre = 1.0; gravitySwitch = true; cableAdaptiveSlack = false; solveConstant = 1e+08; timeFactor = 1.0; solveDcontacts = 5.0; cables = true; cableDistanceConstraint = true; gravityAngleOffset = 0.0; solveConstCables = 1e+08; solveIter = 30; solveStiffIter = 0; solveDistFactor = 1.0; solveRandomizeConstraints = true; bruteColliderCutoff = 0; cableLineSmartChoice = true; solveDCables = 5.0; solveVelFactor = 1.0; defaultBodyDensity = 2.0; cableJacobianScale = 1.0; airFrictionLinear = 0.0099999998; cableMaxSlack = 0.1; warmStart = true; maxPositionCorrection = +inf; running = false; airFrictionMultiplier = 1.0; targetPenetration = 0.001; polygonMeshSize = [128, 128]; cableMaxImpFactor = +inf; defaultBodyFriction = 0.5; cableLineConstraint = true; springForce = 1000.0; warmStartFactor = 0.5; airDensity = 0.0099999998; solvePenetrationDamping = false; rotFrictionLinear = 0.0031399999; defaultBodyRestitution = 0.5; solveAccFactor = 1.0; cableSafetyDistance = 0; cableLineInternalize = false; forceContactCalculations = false; solverSORMiddle = 1.0 }; sin = {math.sin}; Defaults -> { glueToWorld = false; borders = true }; spawnPyramid = (n)=>{for(n, (i)=>{spawnBoxRow([(n - i) * 0.5, n - i], i)})}; exit = {System.exit}; App -> { fadeColor = [0.0, 0.0, 0.0]; waterMaxElongation = 2.0; borderWidth = 0.1; waterColor = [0.1, 0.1, 1.0, 0.69999999]; waterRefractiveIndex = 1.33; gpuWater = true; drawBCs = false; selectColor = [1.0, 0.5, 0.5]; drawVertices = false; maxPointDist = 0.5; drawScaleIndicator = true; maxUndo = 35; metaWater = true; minPointDist = 0.15000001; maxSPHSpawn = 10000; laserWidth = 0.2; drawOBBs = false; language = "English"; fadeTranslate = [0.0, 0.0]; GUI -> { drawHingesWhenRunning = true; useHSL = false; zoomFactor = 0.2; allowDrawSelect = true; dragUndo = true; geomGenTolerance = 1.2; geomGenMinArea = 0.00089999998; geomGenShrink = 0.0033; level = 1; toolSpecificCursors = true; trapUser = false; Scene.addWidget { size = [528.0, 32.0]; title = ""; widgetID = "Toolbar"; minimized = false; pos = [0.0, 31.0] }; Scene.addWidget { size = [532.0, 40.0]; title = "Simulation control"; widgetID = "SimControl"; minimized = false; pos = [0.0, 70.0] }; Scene.addWidget { size = [178.25, 96.0]; title = "Settings"; widgetID = "EntityOptions"; minimized = false; pos = [0.0, 117.0] } }; screenshotsWithAlpha = false; Background -> { drawClouds = true; skyColor = [0.30000001, 0.40000001, 1.0, 1.0]; cloudOpacity = 0.89999998 }; scaleGravityField = false; drawBodyCenters = false; drawCables = false; pointSize = 3.0; chainDensityFactor = 1.0; laserSuperBoost = 1.0; dragToolStrength = 0.25; HQPolygons = false; drawParticleNeighbors = false; waterElongation = 0.050000001; fadeRotate = 0.0; drawSelectionOBB = false; lineWidth = 3.0; drawParticleCenters = false; fadeScale = [0.94999999, 0.94999999]; DPI = 86.0; autosaveTime = 300.0; waterFanceyFactor = 10.0; metaCutoff = 0.5; numColorsInRainbow = 12; drawCollisions = false; drawMapOBBs = false; showGravityField = false; autosaveEnable = true }; Console -> { fade = false; screenSize = 0.34999999; delay = 0.30000001; scroll = true; color = [0.1, 0.1, 0.1, 0.80000001] }; Tablet -> { rightClickOverride = false; improveClickTolerance = true }; Resources -> { textures = true; force16BitTextures = false; shaders = false }; cos = {math.cos}; makeRing = (r, n)=>{ list = []; for(n, (i)=>{ a = (2 * math.pi * i) / n; list = list ++ [r * [cos(a), sin(a)]] }); list }; groovyOn = { App.fadeColor = [0.80000001, 0, 0.89999998]; App.fadeTranslate = {[3 * sin(time), 2 * sin(time)]}; App.fadeRotate = {sin(System.time * 1.2)}; App.Background.skyColor = [0, 0, 0, 0] }; Scene -> { author = ""; title = "my first breakable car littal help"; description = ""; Camera -> { trackRotation = false; zoom = 113.68244; smoothRotation = true; smoothPan = true; smoothFactor = 0.89999998; rotation = 0.0; pan = [0.28660244, 1.1436104]; smoothZoom = true }; gravityRotationOffset = NaN }; time = 1.9399999; GUI -> { fontShadow = true; fgColor = [1.0, 1.0, 1.0, 1.0]; font = "arial_black"; crispFonts = false; clickTimeTolerance = 0.30000001; opacity = 0.80000001; scale = 1.0; bgColor = [0.2, 0.2, 0.2, 1.0]; penInput = false; forceOSCursor = false; fontShadowOffset = [0.125, 0.125]; cursor = true; crispFontFactor = 0.5; tooltips = true; clickTolerance = 5.0 }; Threading -> {numThreads = 1}; quit = {System.exit}; groovyOff = { App.fadeColor = [0, 0, 0]; App.Background.skyColor = [0.30000001, 0.40000001, 1, 1] }; Keys -> { Keys.bind("f12", {System.screenshot}); Keys.bind("pause", {App.Step}) }; System -> { minFPS = 10.0; resizable = false; maxFPS = 60.0; antiAlias = 1; depth = 32; vSync = false; fullscreen = true; resolution = [1024, 768] }; for = (n, what)=>{ n <= 0 ? false : { for(n - 1, what); what(n - 1) } }; FileInfo -> { author = ""; title = "my first breakable car littal help"; version = 4; description = "" }; spawnBoxRow = (offset, n)=>{for(n, (x)=>{Scene.addBox({pos = offset + [x, 0]})})}; spawnRing = {Scene.addPolygon({surfaces = [makeRing(1, 48), makeRing(0.5, 48)]})}; print = {Console.print}