Hi everybody!
I am new to Unity and i would like to know some things about collision detection and general optimization!
-
Are collisions disabled in a character controller?
-
If i want for example a character that gets damage from enemy bullets, can i put all the code in the character behaviour? I tried doing that, but it only detects collisions with the terrain, and not with the bullets…
-
Is it better to put all the code in one behaviour (the character detects collisions with the bullets) or to break it in pieces? (the bullets detects collision with the character) ?
Thanks to all of you!