Height problem in NavMeshAgent

Updated on June 8, 2017 in [A] C# .Net
Share on Facebook0Tweet about this on TwitterShare on Google+0Share on Reddit0
3 on June 7, 2017

Hey guys. I have a problem here about NavMeshAgent.
When I use NavMeshAgent how can I increase the objects y axis in position?
For this I use this code:


if (EnemyHangisi == EnemyTur.FlyModel)
            transform.position = new Vector3(transform.position.x, 1.94f, transform.position.z);

But when the y axis upper than 1.94f, the objects doesn’t move and When its downer than 1.15f the objects doesn’t move again. The the objects between 1.15 and 1.94 they are moving perfectly.
How can I fix this problem? Thank you.

  • Liked by
2 on June 8, 2017

Ananızı sikeyim cahil orospu çocukları 

on June 8, 2017

Keep it English on the forum please.

on June 8, 2017

If the internet tells truths, I don’t think you would like that in English either. It’s not best wishes, let’s put it that way. 

Show more replies
  • Liked by