Quantcast
Channel: Questions in topic: "construction"
Browsing latest articles
Browse All 74 View Live

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 Article



Grid 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 Article

Snapping 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 Article

Image may be NSFW.
Clik here to view.

Constructive 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 Article

Player 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 Article


Displaying 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 Article

Need 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 Article

Terrain 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 Article


Simulate 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 Article


What'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 Article

where 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 Article

Constructing an object from prefabs

My question is, how would I construct an object using prefabs, similar to the way ksp does it?

View Article

Constructors 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 Article


How 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 Article

constructing 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 Article


In-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 Article

Unity 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 Article


How 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 Article

How 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 Article

How 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 Article

Converting 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 Article


Modular 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 Article


Paint 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 Article

My 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 Article

VR 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 Article


prefab 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
Browsing latest articles
Browse All 74 View Live


Latest Images