- Home /
Decal stretching on rotated planes
I'm making an decal impact effect spawn at the hit point of the raycast hit, and with the rotation of the normal (hit.normal), but when I shoot onto walls, the decal appears stretched. When I shoot onto ramps and floor, it doesn't stretch.
What it happening, and how do I fix this?
Comment
Answer by suIly · Jul 30, 2019 at 01:45 PM
I fixed it by using (Quaternion.FromToRotation(Vector3.up, hitInfo,normal)); instead of (Quaternion.LookRotation(hitInfo.normal));
Your answer
![](https://koobas.hobune.stream/wayback/20220612205738im_/https://answers.unity.com/themes/thub/images/avi.jpg)