Quantcast
Channel: Questions in topic: "issue"
Viewing all articles
Browse latest Browse all 827

MeshCollider causes issue

$
0
0
I assigned a MeshCollider to a procedural mesh with these lines: GetComponent().sharedMesh = null; GetComponent ().sharedMesh = GetComponent ().mesh; Somehow it causes this shader or material issue. I want to know how to fix it. Maybe the reason is in the rest of the code. If so i will share it but i wonder if anyone knows what the reason is.![alt text][1] [1]: /storage/temp/118895-118703-coldr.png

Viewing all articles
Browse latest Browse all 827

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>