How to use the GameObject's construction function in C#
static function GameObject (name : string, params components : Type[]) : GameObject Description Creates a game object and attaches the specified components.I don't know what can pass to the second param.
View ArticleGrid of furniture in game like The Sims
so this is my first question here :D and I need help with a script that can create an invisible grid that attaches the furniture to its space, just like in The Sims, when you are buying the furniture...
View ArticleSnapping Walls Together
Hello, I'm brand new to Unity and I am trying to create a construction type game. What I want is to be able to create walls in game and be able to place them wherever according to a grid system. What...
View ArticleConstructive Solid Geometry on procedural pipes
Dear all,First off, sorry about this huge text, but it was important for me to explain the problem properly. :)I have a pretty hairy geometry question I've been pondering for a while. I'm developing an...
View ArticlePlayer Controlled Builder
Hi all. Im working on a few personal projects, one of which involves figuring out how to make a system where the player can create their own vehicle from a range of pre-made pieces (Kind of like the...
View ArticleDisplaying buildable area as an overlay on terrain
Hi, I'm a member of a small team working on a fairly simple project. One issue we're having is that we want buildings to be placeable only on flat terrain and only if they are within range of a power...
View ArticleNeed help with a build function
I have a build function that is activated from a menu. The user clicks on a button on the menu, which closes the menu and activates a holo effect on the cursor point. When the user clicks on a spot on...
View ArticleTerrain morphing
Does unity give the player the ability to modify terrain in game real time? I am looking at a contruction style game where the player would build up terrain.
View ArticleSimulate working with items (cutting, welding things together)
I'm currently rediscovering Unity and working on ideas for a game. The focal point of the game would be a constriction mechanic. Cutting, bolting, welding, binding with screws etc. I've got a few ideas...
View ArticleWhat's the "right" way to deal with inheritance and constructor parameters?
I have a whole inheritance tree of game object types I need to be able to instantiate, activate and deactivate (or enable and disable) at run time, and I want to be able to use constructor parameters...
View Articlewhere do i save premade objects?
in my rpg i need to use my armor class to construct a premade piece of armor. like how in the elder scrolls series they have premade armor sets(iron, steel, ebony, etc) my question is: where do i save...
View ArticleConstructing an object from prefabs
My question is, how would I construct an object using prefabs, similar to the way ksp does it?
View ArticleConstructors for Only-Realtime-Created Monobehaviours
What are the risks of using constructors for MonoBehaviours that will NOT be serialized/deserialized, as they are created and destroyed in run-time. I know i can use awake, but for some reason I don't...
View ArticleHow to make an object does not "derive"...
Hello, I am making a construction system like in Rust or The Forest. Per example, in those game, when you place a campfire, it's in green, on the ground and is in front of your player. So, I tried to...
View Articleconstructing buildings rts style.
currently i have a co routine that starts after i lock the position of the building prefab. this coroutine is attached to my builder unit which simulates or "fakes" constructing a building. i have a...
View ArticleIn-Game 2D Sprite Building System
I want to delve into the depths of a building a 2D sprite construction system that potential players can use to build objects, So the system will need to be able to allows the user to place different...
View ArticleUnity 2D - How to calculate weight/strain?
Hi! Is there a way to calculate the weigth of all physic objects, which are on top of another one. I want to make a physics object destructable, and the relativeVelocity is not enough to determine if...
View ArticleHow to do a construction/trap placement system
Hi, I would like to do a trap system that would work a little like in GMod or Rust or Orcs Must Die where you can place things on wall or the ground. I know how to instantiates prefabs, what I really...
View ArticleHow to go about Construction in Unity
I would like to know how to implement a basic building system in Unity, similar to rust and unturned. I've done some extensive research in rust and unturned and learned some proper coding techniques...
View ArticleHow to make this Camera?
hello, im developing a game but I don't know how to make when the player enter a house the roof becomes invisible like in this video: https://youtu.be/5SQzum0awnI?t=20m46s
View ArticleConverting autocad to unity
Hi all, I am civil engineering student from Turkey. VR is the most promising trend in the world and still it is new in Turkey. My family owns a construction firm and I want to integrate this VR...
View ArticleModular Construction (Unturned, Rust...)
Hello everyone, i just want to create a simple modular construction system like in Unturned, following this tutorial: http://wiki.unity3d.com/index.php/ModularConstruction I think that there is a...
View ArticlePaint a dirt path on terrain at runtime?
Hi there, I want to be able to place a rectangle on any point of Unity terrain and have it so the detail grass under that object is removed and then have it so it paints the terrain under that object...
View ArticleMy object does not appear in the proper position
Hi, I'm doing a construction system for my game, but there's a problem, is that when the wall for example, is placed does not appear where I point, well it appears but with +5 in z My script:...
View ArticleVR for complex construction CAD models
Hello, I work in construction and we are trying to visualize our projects using Unity and Oculus Rift. Basically all our models are created using Revit and we export them out to fbx and bring them into...
View Articleprefab spawning location - arfoundation
Hello everyone! I'm working on an AR application for the construction industry, using ARfoundation and Image tracking. I need to define the exact location where my prefabs appear when the application...
View Article