Paul
New member
Hi,
I've built the demo scenes that come with the PUN Multiplayer Add-On Asset. But I come to the conclusion that there is an offset in the Raycast (Hitscan) shoot system. In the screenshot you can see that there are 2 players in a room, 1 of which is shooting a bullseye and the location of the shot impact is different for both players.
I logged the firePoint and the fireDirection variables coming from the class ShootableWeapon function HitscanFire() (line 940). These don't always seem to match.
Hopefully, I am doing something wrong.. I haven't changed anything in the demo game.
Regards,
Paul
I've built the demo scenes that come with the PUN Multiplayer Add-On Asset. But I come to the conclusion that there is an offset in the Raycast (Hitscan) shoot system. In the screenshot you can see that there are 2 players in a room, 1 of which is shooting a bullseye and the location of the shot impact is different for both players.
I logged the firePoint and the fireDirection variables coming from the class ShootableWeapon function HitscanFire() (line 940). These don't always seem to match.
Hopefully, I am doing something wrong.. I haven't changed anything in the demo game.
Regards,
Paul