Jump to content
This site uses cookies! Learn More

This site uses cookies!

armedunity.com uses cookies to improve user experience.

By continuing to use this site, you agree to allow us to store cookies on your computer.


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About armin-nimra

  • Rank

Profile Information

  • Gender
  • Location:
  1. hi,how can i use agent OffMesh link,when Agent on the StartPos Wait a little and jump down ,then resume agent. IEnumerator jumpdown() { OffMeshLinkData data = agent.currentOffMeshLinkData; Vector3 startPos = agent.transform.position; Vector3 endPos = data.endPos + Vector3.up * agent.baseOffset; float normalizedTime = 0.0f; if (agent.isOnOffMeshLink){ while (normalizedTime < 1.0f) { Anim.SetBool("Jump",true); float yOffset = height * 4.0f * (normalizedTime - normalizedTime * normalizedTime); agent.transform.position = Vector3.Lerp(startPos, endPos, normalizedTime) + yOffset * Vector3.up; normalizedTime += Time.deltaTime / duration; yield return null; } } }
  2. hit.gameObject.SendMessage ("ApplyDamage", Damage, SendMessageOptions.DontRequireReceiver);
  3. hi,Can you add complete the script?? how to send direction damage to this??can i use ui image instead of texture?
  4. hi,I wanted to know that how can I create an damage Indicator in Unity 3D ? I went very search, but I did not find anything! If the code is so much better.
  • Create New...