|
I have been looking around and havent found alot of info on the subject, so i am looking around for some input on different methods of trying to do this. any suggestings please post. thanks wayne
(comments are locked)
|
|
You can either model different chunks of each building, build them up in Unity, add static rigidbodies, and a script that controls the rigidbodies when you want to collapse the building. Pros: Fast, Simple to make. Cons: Always the same shape of rubble, boring to set up, uses a lot of disk space. Or you could make some crazy code to generate a dynamic mesh and make a gameobject out of each part. Pros: Visually better, tweakable, lightweight (for disk). Cons: May lag on not-so-good computers, requires advanced knowledge on mesh creation. You could also swap the building Placing a trigger box just in front of the building between a one piece and the broken one just before it gets hit and let the engine send the rigidbodies where they should go. Might not be as artistic but quite easy to start with.
Apr 28 '12 at 05:41 PM
fafase
(comments are locked)
|

This type of question is more suited for the forums.
I agree. Unity Answers is only for specific problems where an answer exist. What you are asking are suggestions and pro/cons and there is not the one correct answer for it, but several options are available, depending on your project
sorry will post in the forums