- Home /
Place Decal on Mesh, Not Collider
I'm using the UltimateFPSCamera package. When you fire a weapon, the code does a ray cast and creates a bullet decal at the intersection point. The problem is that the bullet decals always appear on the collider that is used in the ray cast, not on the mesh.
I want the decal to be placed on the mesh itself, not the collider. Some buildings and detailed objects have simplified box or sphere colliders, so the decals end up floating in the air some distance away from the actual mesh.
Answer by Dantus · Nov 06, 2013 at 10:11 AM
Have you considered to use the Decal System: https://www.assetstore.unity3d.com/#/content/3779
Though, it is not really easy to use it at runtime.
Your answer
Follow this Question
Related Questions
Bullet hole decal does not rotate properly. 0 Answers
Internal collisions 1 Answer
Decal(bullet mark) on a moving object 0 Answers
Get the name of a game object with position ? 1 Answer
Having problems with a Switch! 2 Answers