x


Instantiated prefabs not keeping their layers

Hello, everyone. I have a grenade that the player can throw, and it explodes and all, but when I tried to implement radar into my game, I got the problem of the explosions appearing outside of the walls. This happens because the radar is simply a camera above the player. So I changed the explosion prefab to a different layer, and told the radar camera not to render it, but it still does! How would I fix this? In addition, when I pause and go to the instance, it claims that it is on the explosion layer. All help would be appreciated, and sorry for the novel.

more ▼

asked Apr 20 '11 at 01:51 PM

zmar0519 gravatar image

zmar0519
946 59 66 78

(comments are locked)
10|3000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x163
x108
x44
x30

asked: Apr 20 '11 at 01:51 PM

Seen: 1083 times

Last Updated: Apr 20 '11 at 01:51 PM