• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
3
Question by slkjdfv · Jul 06, 2010 at 12:49 AM · physicsdamage

is there a way to break a wall realistically?

i want to make it so when a bomb goes off or a missle hits a wall the wall crumbles and breaks in a realistic matter. Is there a C# script that an break a single cub into smaller pieces or something cause i don't want to replace my wall with smaller cubes thats not real.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

3 Replies

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by TaigaStudios · Jul 06, 2010 at 10:47 AM

You could try accomplish something like this: Youtube/Destroyable buildings in Unity

He accomplished it by using this method

Quote genetichell "

-Take boxes and add rigidbody & a joint to them.

-set the joints breakforce to something different from "infinity"

-put it all together and test it. "

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Gary · Jul 06, 2010 at 01:48 AM

Well you dont have to use cube shapes, replace the wall with wedge shaped objects, and then have them all fly off at different angles and with different rotation when bomb goes off ... i wish I knew of a script that does all this for you in realistic manner, please post back here if you find one :)

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
1

Answer by Tetrad · Jul 06, 2010 at 12:53 AM

Sure but it's probably not worth the effort. Even most AAA games use the trick of removing chunks of wall behind a particle cloud and spawning in generic wall chunks with physics in its place.

They only recently added that kind of feature to Unreal Engine not too long ago: http://udn.epicgames.com/Three/FractureTool.html

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image spinaljack · Jul 06, 2010 at 01:50 AM 0
Share

Red Faction $$anonymous$$illa did a pretty good job

avatar image Tetrad · Jul 06, 2010 at 02:14 AM 0
Share

They did yes. Honestly the hardest part about all the games that do that is the content creation part. If you look at some of the developer videos they put out there was a lot more data that went into those buildings that are destructible than just the model itself.

avatar image equalsequals · Jul 06, 2010 at 02:35 PM 0
Share

Aye. Smoke and mirrors wherever possible.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

No one has followed this question yet.

Related Questions

Possible Fall Damage OnCollisionEnter Won't Work! 0 Answers

How do I simulate a tsunami wave? 6 Answers

2D 360 degress platformer example needed 0 Answers

How to I calculate damage when using AddExplosionForce? 0 Answers

Help with 2D Hit Detection! 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges