Quantcast
Viewing latest article 11
Browse Latest Browse All 125

How to use a randomobject script on walls?

I want to randomly place a poster I made on the walls in my game. My teacher showed me a randomobject script, but it just places the selected model randomly throughout the Terrain. How could I edit this so it randomly places a cube with this texture, but only on walls (or the mesh collider on them)?

Viewing latest article 11
Browse Latest Browse All 125

Trending Articles