|
Post by rbm on Nov 5, 2016 18:31:12 GMT
Hi I have make an enemy with"CombatController" script .
when I run the game - the Enemy dies(playing dying animation).
I set current health to 100 but when game runs enemy dies with heath 0 ! 3rdpersonController is ok on terrain!
what's the problem?
|
|
|
Post by Chronicman on Nov 5, 2016 20:45:34 GMT
If you haven't baked the nav mesh the AI will die on start. Try that and let me know how it works.
|
|
|
Post by rbm on Nov 6, 2016 21:03:37 GMT
thank you! problem was "nav mesh"!
one more thing! what should I do to have 2.5D camera?
|
|
|
Post by Chronicman on Nov 6, 2016 22:11:41 GMT
I would go into the demo scene and copy the camera and paste it into your scene or you could make a prefab of the camera.
|
|
|
Post by Invector on Nov 6, 2016 23:35:36 GMT
thank you! problem was "nav mesh"! one more thing! what should I do to have 2.5D camera? Just replace your current CameraListData
|
|