Search Unity

Fps Bullets position

Discussion in 'Multiplayer' started by innolabs, May 16, 2017.

  1. innolabs

    innolabs

    Joined:
    Dec 26, 2016
    Posts:
    3
    I am working on a multiplayer Fps
    The user should see the hands-weapon model and shoot against other player avatars
    The hands model is different than the avatar model
    Both having the end of the gun at a different position
    I spawn laser network object from the hands mount point and sync it over the network
    The question is what is the best practices to align the laser with the avatar model
    N.B: I am using Final Ik for the avatar to aim at the mount point of the hands
     

    Attached Files:

  2. TwoTen

    TwoTen

    Joined:
    May 25, 2016
    Posts:
    1,168
    Just make the Laser a child of the weapon to avoid any issues and uneccecary network traffic?
     
    innolabs likes this.
  3. innolabs

    innolabs

    Joined:
    Dec 26, 2016
    Posts:
    3
    Thanks