Answer by unbelievablename
transform.position.y Isn't it? This also works for every coordinate and for every Euler angle .
View ArticleAnswer by unbelievablename
The first one gives you the component of the Enemy, because the other way is not defined. I bet that you have no PlayerHealth on Enemy, so there is the reason of NULL. These lines return you the...
View ArticleAnswer by unbelievablename
I'm not a pro, but it seems that your light source is too low. Move it a bit higher, that should do it. ![alt text][1] [1]: /storage/temp/49065-ckv8gxa.jpg
View ArticleAnswer by unbelievablename
Put GlobalFog effect on your camera, it can be found in some of Standart Assets. Never use fog from Ligtning/Scene
View ArticleAnswer by unbelievablename
Anyway, I found, where the problem was. I just had to put an effect on my cameras. Question can be closed now, because I have no permissions to do it on myself.
View ArticleAnswer by unbelievablename
> i want to invert its Y axis configuration 'cause when i slide the mouse forward, the camera goes up, and when sliding backward, the camera goes down, and i don't like this way Try that code:...
View ArticleAnswer by unbelievablename
transform.position.y Isn't it? This also works for every coordinate and for every Euler angle .
View ArticleAnswer by unbelievablename
The first one gives you the component of the Enemy, because the other way is not defined. I bet that you have no PlayerHealth on Enemy, so there is the reason of NULL. These lines return you the...
View ArticleAnswer by unbelievablename
I'm not a pro, but it seems that your light source is too low. Move it a bit higher, that should do it. ![alt text][1] [1]: /storage/temp/49065-ckv8gxa.jpg
View ArticleAnswer by unbelievablename
Put GlobalFog effect on your camera, it can be found in some of Standart Assets. Never use fog from Ligtning/Scene
View ArticleAnswer by unbelievablename
Anyway, I found, where the problem was. I just had to put an effect on my cameras. Question can be closed now, because I have no permissions to do it on myself.
View ArticleAnswer by unbelievablename
> i want to invert its Y axis configuration 'cause when i slide the mouse forward, the camera goes up, and when sliding backward, the camera goes down, and i don't like this way Try that code:...
View Article