- Home /
Mesh Deformation Help (Or other means of creating small scale destruction)
Hey Guys,
I am starting to make a shooting game, and made a bullet hole texture but unfortunately it didn't look quite right. Then, after playing around a bit, I made it a little better, but I still didn't like. I decided to scrap my texture, and make a real bullet hole... the only problem is, I don't even know where to start with mesh deformation! So, I'm asking the Unity community... if anyone can help me figure out mesh deformation, I'll be grateful!
-Gibson
P.s. If this isn't clear... I would appreciate websites, videos, articles, or personal "know-how" on anything relating to deforming meshes...
Thanks guys!
Answer by hypnoslave · Jan 01, 2011 at 11:33 PM
doing mesh distortion to get bullet holes is going to be a lot more difficult than using a texture, believe-you-me. first of all, you'll need to have a mesh that's so insanely dense that pushing in a few verts will look like a bullet hole, other than a small dent. It would be dubious to use this method for very large dents in metal, but doing this for bullet holes in stuff like concrete is simply unrealistic. frankly, you'd probably have to use a texture decal around the bullet hole to sell it anyway.
sorry to rain on your parade..
do some research on paralax maps.
what you'll need to do is create a series of decal textures for all different types of surfaces that spawn on the location where a bullet hits. these decal textures can use paralax maps to give you the illusion of some depth, but there probably won't be a one size fits all solution. concrete, for example, will probably chip all around the bullet hole.. wood will look different, etc. go to youtube and look for "bullet impact" or something, and then reference that.
Sorry to be negative. there's really no way around making art...
Thanks for letting me know before I got into it... :)
Answer by efge · Jan 01, 2011 at 11:49 PM
As a starting point: Two threads from the forum.
(The second comes one with webplayer, source and downloadable package.)
Your answer
![](https://koobas.hobune.stream/wayback/20220613093342im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Mesh deformation with collisions 2 Answers
Changing terrain texture on contact (collision) 2 Answers
'Favor a GameObject to show so there isn't collision glitches?' 1 Answer
Why won't it end game on unity on contact with water 1 Answer
Enable a GUI texture after player collides with another object 2 Answers