GUITexture Jumping

I use this script ObjectLabel.cs to output HealthBar for my enemies. I have a problem when enemies are in place - all good, but as soon as the start to move - HealthBar jumps and jerks on each.

Enemies are in place

Enemy Move

In what could be the problem?

Well, did you set it up properly as explained in your link?

I tried to put in different ways, and chose different offsets but the result is the same, can you give an example of working shifts?

That's how I have done http://i57.fastpic.ru/big/2013/1115/19/75db7cfe2972fbac197ec5b90f25f819.jpeg

Yes it worked, thanks. But if the number of AI will be 100,500 + where then stored when not in AI Child?

No problem, I converted the comment to an answer, please accept it if solved your question. You could store both objects in an empty GameObject.

1 Answer

1

Have you tried making the HealthObject not a child of the EnemyCreepAI?