├── sinkit.csg.unitypackage ├── LICENSE └── README.md /sinkit.csg.unitypackage: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snikit/CSG---3d-boolean-operations-Unity-/HEAD/sinkit.csg.unitypackage -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 Abhishek Thakur 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # CSG---3d-boolean-operations-Unity- 2 | CSG - 3d boolean operations (Unity) 3 | 4 | ![be84aa58-e65e-4462-83b9-14efd1dab83a_orig](https://user-images.githubusercontent.com/10356702/192952210-f7b7842c-c0f1-43e5-ae92-cb47845f27a2.png) 5 | 6 | 7 | 8 | 3d Boolean Operations(CSG) on Meshes in the editor or via script at runtime. 9 | Specially helpful in punching windows or holes during level design or in game. 10 | 11 | 12 | snikit.CSG 13 | ................................... 14 | 15 | Constructive solid geometry allows a modeler to create a complex surface or object by using Boolean operators to combine simpler objects, generating visually complex objects by combining a few primitive ones. 16 | These operations are : 17 | 1.Subtraction 18 | 2.Union 19 | 3.Intersection 20 | 21 | Please Note: This version of CSG works with Unity versions 2019.4 or higher. 22 | 23 | 24 | 25 | Features: 26 | *Choose between three Boolean operations 27 | * Example script and scenes attached 28 | * Custom material can be provided for the new geometry involved in operation. 29 | * Allows you to create instant prefab. 30 | * Helps in quick level designs for example designing windows , holes etc. 31 | * All the transforms and coordinates of original meshes are preserved. 32 | --------------------------------------------------------------------------------