Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

[WIP] FREE Building System by Sykoo

Discussion in 'Works In Progress - Archive' started by Sykoo, Aug 18, 2015.

  1. Sykoo

    Sykoo

    Joined:
    Jul 25, 2014
    Posts:
    1,394
    So I am developing a small building system for one of my customer's game and I thought of showing it to you guys, as I plan on releasing it for free later on. But first, I need to know your thoughts and if you think you'd use if this was released as a free open-source project!



    Main Features:
    • Automatically detects any gameobject in scene, and places the item being built on top of it with perfect vectors
    • You can simply switch a boolean to make the target gameobject an "obstacle" meaning that the item cannot be built on it
    • Vertical and horizontal snapping
    • Smooth transformation
    • Information handling done by the system, the only thing you need to create is a void with a couple lines of code (instantiating the 'construction item' for your foundation)
    • Easily stacks up on new built items
    • Full 360° rotation with serialization

    Please let me know your thoughts! :)
     
  2. Teila

    Teila

    Joined:
    Jan 13, 2013
    Posts:
    6,929
    This would be very useful! Does it work in run-time or only in the editor?
     
  3. Sykoo

    Sykoo

    Joined:
    Jul 25, 2014
    Posts:
    1,394
    It's a modular building system that you can use to let your players use it to build their own foundations.
     
    Teila likes this.
  4. Teila

    Teila

    Joined:
    Jan 13, 2013
    Posts:
    6,929
    Sounds great, Sykoo.
     
  5. Sykoo

    Sykoo

    Joined:
    Jul 25, 2014
    Posts:
    1,394
    Thank you very much for letting me know your opinion! :)
    Are there any specific features you'd wish to see in this asset? Though I call it an asset, it's still going to be free :p
     
  6. Teila

    Teila

    Joined:
    Jan 13, 2013
    Posts:
    6,929
    So, this is for allowing players to place a foundation and the place their houses on top of the foundation? That is fantastic actually. :) One suggestion I have is to allow the foundation to be placed slightly under the terrain so you can place it on uneven terrain. That is one issue we have with placing player houses...the ground is not always perfectly flat.

    Also, a way to vertically adjust along the Y axis would be useful.
     
  7. Sykoo

    Sykoo

    Joined:
    Jul 25, 2014
    Posts:
    1,394
    Thank you very much, it's exactly what it does! :)
    Oh yeah, I can see what you mean and you're completely right. I allow for 360 degrees rotation in X axis, I could just enable Y axis too so that the player can place the foundation literally as they want as long as it's not literally half-underground.

    Vertical adjustment will probably be added, thank you so much for your suggestions, I really do appreciate that you took your time! :)
     
  8. Teila

    Teila

    Joined:
    Jan 13, 2013
    Posts:
    6,929
    No problem!

    Another suggestion, a foundation will need stairs to go up to the door. So can we use our own model of a foundation with stairs attached for the "foundation"? I remember from my SWG days that being able to put the house partially underground with the stairs attached gave many more options for placement.

    I like to see people working on stuff like this. :) It is often overlooked or made so complicated that it becomes useless. I have houses that suit my game and I just want a way to make them easier to place in game. I don't need to be able to build post by post, wall by wall, just foundations and houses and buildings of various shapes and sizes.
     
  9. Sykoo

    Sykoo

    Joined:
    Jul 25, 2014
    Posts:
    1,394
    Oh yeah, I plan on making it even more simple to "choose" what foundations you want the player to be able to build :)
     
    Teila likes this.
  10. NathanHale1776

    NathanHale1776

    Joined:
    Mar 22, 2014
    Posts:
    46
    Would like this, but please make sure it saves object placement. I have looked around and it seems like the few "building systems" have no saving/loading involved. pretty useless without it. thanks