i had been looking for tutorials on youtube and even try googleit but i havent seen a tutorial on how to make bullet marks. please someone help me
Answer by Joshua
Jun 19, 2011 at 02:12 AM
You mean the little holes bullets leave on impact in most games? This is done with 'decals'. If you google Unity3d+Decals you'll find quite some information on how to implement then. A good start would be this and this.
Answer by MonkeyAssassin8
Jun 19, 2011 at 02:48 AM
You can use decals, but if you can't understand it and want something simple, just create a plane prefab with the texture and do the same as the hitParticles (in fps tut) but instantiate the plane prefab instead. you may need to put this object in another empty object and increase the y pos, so it doesn't glitch in the wall. If you're shooting enemies and moving objects you can set the parent to the hit collider. Hope this helps :)
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user, check out our FAQ for more information.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
3 People are following this question.
Achieving Bullet Holes
How do I make bullet marks?
Should I use a decal or particle system for bullet holes?
Bullet Mark Texturing offset too far