Hey, hope your having a great day! So. I am creating a Survival game similar to Rust but I am having trouble with a Building System. I like how in Fortnite is actually has a construction time and slowly builds up and im not sure how to make that. Even if its to hard If someone could tell me how to make a normal placemnt or something with a construction time. If anybody could help I would appreciate it
bump
Off hand, I’d say something like:
- Add a “% completed” field to the building state. A building exists from the start but isn’t usable until 100%.
- When your simulation advances, increase any uncompleted buildings based on whatever building speed you define.
- The building visuals could be done by an Animator, or by making a series of objects visible one piece at a time.
You would just split the model into pieces. Add them to a list. Then lerp each thing in the list into position.
For optimisation, when it’s done building, you would switch in the final merged wall, so it’s only made from 1 model.
1 Like
I’m late, but you can check this
We recreate all the building system (including the modification possibility) in videos tutorials, it’s in french but I think you can understand