y + radius) / resolution), math.ceil((centerPoint. x + radius) / resolution), math.ceil((centerPoint. y - radius) / resolution), math.floor((centerPoint. x - radius) / resolution), math.floor((centerPoint. Local desiredMaterial = isDynamic and nearMaterial or materialDictionary Return linePoint + lineDirection * distance Local distance = ((planePoint - linePoint): Dot(planeNormal)) / denominator Local denominator = lineDirection: Dot(planeNormal) unit -this code is for 45 degree plane lockingįunction lineToPlaneIntersection( linePoint, lineDirection, planePoint, planeNormal) Return Vector3.new(0, 0, cameraLookVector.z / absz) ]] Return Vector3.new(cameraLookVector.x / absx, 0, 0) Return Vector3.new(0, cameraLookVector.y / absy, 0) MaterialService.If neighbor = absx and absy >= absz then -preference towards y axis planes.MaterialService:SetBaseMaterialOverride ( material).MaterialService:GetOverrideStatus ( material).MaterialService:GetMaterialVariant ( material).MaterialService:GetMaterialOverrideChanged ( material).MaterialService:GetBaseMaterialOverride ( material).HeightmapImporterService:ImportHeightmap ( defaultMaterial).None of these were ever added to a public release, due to community outcry, and their deviation from the original purpose of the Developer Forum announcement to bring parity to terrain and part materials. There have also been many scrapped part materials. Because smooth terrain does not support plastic, Red Plastic was converted to Sandstone, and Blue Plastic was converted to Ice. Gold, Aluminum, Iron, and Cinderblock were all merged with Concrete. When Legacy Terrain was removed in 2017, these materials became unusable, and games with Legacy Terrain had them converted to other materials. As a result, these were never adapted for use in parts. Although some materials were first introduced for Legacy Terrain and later made usable for parts (such as wood planks, brick, and granite), many terrain materials were color variants made as a result of terrain not supporting color in the same way parts do. These materials, with the exception of Brass, were exclusive to Legacy Terrain and could not be used for parts. Brass (existed briefly between 2010 - 2011, not a part of legacy terrain).Aluminum (the material enum for Aluminum still exists, but changes a part to the Foil material immediately if used.Several materials existed at one point but were removed. Previously, it was possible to use the air material to create an invisible part that would cast a shadow.If a part's material is set to Air via the command line or a script, it will take on the appearance of Plastic, but its Density, Elasticity, and Friction will all be set to 0.01. Air - Technical material that is used by Terrain.If a part's material is set to Water via the command line or a script, it will take on the appearance of Plastic, but its density will be set to 1, its elasticity will be set to 0.01, and its friction will be set to 0.005. These are:īeyond the regular materials, there are two that exist but are not intended to be used for parts. List of materials Ĭurrently, there are 35 base materials to choose for parts. By default, all Materials would be set to Automatic, with the result being based on the user's system performance. If set to Low, all Parts would render as Plastic, whereas High would allow for procedural generation, which featured more complex visual effects. Additionally, many of the existing part materials were revamped.įrom 2009 to 2013, Materials were either procedurally generated or texture-based―the latter being known as "fallback"― depending on the user's Rendering settings as configurable in Studio. In June 2022, Asphalt, Basalt, Cracked Lava, Glacier, Ground, Leafy Grass, Limestone, Mud, Pavement, Rock, Salt, Sandstone and Snow were introduced, being previously found only in Terrain.In June 2019, Forcefield was introduced.In December 2017, Glass was introduced.In early 2017, Brick and Wood Planks were revamped.In the summer of 2015, Neon, which glows when the quality is set to 6 or higher, was added.L-R/Top-Bottom: Concrete, Foil, Ice, Wood, Diamond Plate, Grass, Plastic, Corroded Metal, and SlateIn July 2014, Cobblestone, Metal, and Wood Planks were released as new materials. The original appearance of Materials as used between 20. In late October 2013, Brick, Fabric, Granite, Marble, Pebble and Sand were released as new materials.In September 2009, Grass was added as a new material.In early September 2009, Concrete, Corroded Metal, Diamond Plate, Foil, and Ice were released as new materials.In late April 2009, Slate was released as a new material.Before this, the only material parts could be was plastic. In early March 2009, Wood was released as the first material.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |