hi all
I have the following problem when shooting and bullet collide draw wall-decal but if done off the corner through the wall and is very bad as it could solve that problem.
verticies see something about but do not understand any of it someone can help me.
var rotdecall : Quaternion = Quaternion.FromToRotation(Vector3.up, hit.normal);
var Decallobject : GameObject = Instantiate(proparmas.decall, pos, rotdecall);
Decallobject.transform.Translate(0,0.01f,0);
Decallobject.transform.parent = hit.transform;
a greeting
PD:sorry for my English use a translator