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 Karwan.H

  • Rank

Profile Information

  • Gender
  • Location:
  • Interests

Contact Methods

  1. i have been changed the variable type to ParticleSystem didn't work get same error ... i just asked if anyone knows how can i fix it i'm still beginner with unity
  2. i made ParticleSystem instead Muzzle flash like you said but when i want drag on my Scripts it doesn't allow me to do it like i can't drag on it when i made ParticleSystem maybe the i have to change something on the Script can you help me for it that script i use http://www.webchinupload.com/f/2017-07/0e72e5c710dd7689e3078756878e450f.rar i'm sorry hope don't make you bother
  3. so how can i make a muzzle flash with ParticleSystem for my weapon if you know show me a way to do it thanks for the answer my questions
  4. everything is work with unity 4
  5. Karwan.H

    Muzzle flash help

    hi everybody i have problem with muzzle flash with unity 5 i can't do it with unity 4 but for the unity 5 give me this Error can anyone know how can i fix this
  6. thanks i found another scripts solved my problem that's it var Cam : Camera; var AimPos : Vector3; var NormalPos : Vector3; var Gun : GameObject; function Start () { if(Cam == null) { Cam = Camera.main; } } function Update () { if(Input.GetMouseButton(1)){ Gun.transform.localPosition = Vector3.Lerp(Gun.transform.localPosition, AimPos, Time.deltaTime * 8); Cam.fieldOfView = Mathf.Lerp(Cam.fieldOfView, 45, Time.deltaTime * 10); }else{ Gun.transform.localPosition = Vector3.Lerp(Gun.transform.localPosition, NormalPos, Time.deltaTime * 8); Cam.fieldOfView = Mathf.Lerp(Cam.fieldOfView, 60, Time.deltaTime * 10); } }
  7. awesome script thanks man i'm looking for this
  8. Hi everyone i have problem with this Script its not working with unity5 and give me Error please fix the script for me thanks sorry for my English var HipPose : Vector3; var AimPose : Vector3; var AimSpeed = 15; private var MainCam : GameObject; private var WeapCam : GameObject; function Start () { transform.localPosition = HipPose; MainCam = GameObject.FindGameObjectWithTag("MainCamera"); WeapCam = GameObject.FindGameObjectWithTag("WeaponCamera"); } function Update () { if(Input.GetButton("Fire2")) { MainCam.camera.fieldOfView = 50; // transform.localPosition = AimPose; transform.localPosition = Vector3.Lerp(transform.localPosition,AimPose,AimSpeed*Time.deltaTime); } if(!Input.GetButton("Fire2")) { // transform.localPosition = HipPose; MainCam.camera.fieldOfView = 60; transform.localPosition = Vector3.Lerp(transform.localPosition,HipPose,AimSpeed*Time.deltaTime); } }
  9. Thank you helpful i need textures
  • Create New...