Changing angle of linetrace

OniricMaster
Mon, 30 Mar 2020 16:09:14 +0000
Community & Industry Discussion

Hello, so Im currently working on a basic zombie shooter game. Im trying to create a basic shotgun that creates 3 line traces, One Forward and then TWO to each side. Here an image to better visualize.

Ive manged to get the forward trace line to work but getting the ones to each side is harder since the player can rotate. Any ideas whats the correct way of achieving this?

4 posts - 4 participants