Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • 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
0
Question by Uriel_96 · Jun 11, 2011 at 01:26 AM · physicsdestroyshootingwall

Destroy parts of a Wall

OK, In my game I want to do something like crysis that if you shoot on a wall the part where the bullet collides with the wall that part of the wall is destroy. Example:http://www.youtube.com/watch?v=a2UCnblmOMY at 0:09 or at 0:19, as you can see the wall is destroyed depending on where you shoot, the problem of this is that I actually don't know where to start because I don't know if to do this you need to make a script or make something with physics and all that stuff or both so I actually can consider me as a rookie on making this, also I have think that to make this stuff is necessary to have and special object(something like a cube with a mesh divided in many parts), so how can I make it?

Note: please if someone know something of download a wall that has something like this please don't put it, because first I want to make my own walls, and then I actually want to learn who to do this so please don't put something like that as an answer.

Comment
Add comment · Show 1
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 Eli-Davis · Jun 11, 2011 at 02:16 AM 0
Share

For each part that falls apart, thats a seperate object. Heads up =D

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by Anxo · Jun 11, 2011 at 01:52 PM

http://answers.unity3d.com/questions/11866/shattering-glass.html

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 1337GameDev · Jun 11, 2011 at 04:21 PM

If there is a way to modify a mesh you can then deform the mesh with a script that tells where the bullet impacts and detect the colision location, then apply the detsroy effect. Some games also used just a wall mesh and then put a "decal" on the wall that just looks like it is being detsroyed, then it spawns particles or meshes that fly out.

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

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.

Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

How do I break apart an object? 2 Answers

The name 'Joystick' does not denote a valid type ('not found') 2 Answers

Collect some coins for Points 1 Answer

problem with shooting killing script 1 Answer

OnTriggerEnter - destroy (this.gameobject) if it collides with anything 2 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