Download

Random Unit Vector in Cone does not seem that random

Hi guys,

I am setting up a shotgun in my multiplayer game, however the “Random Unit Vector in Cone in Degrees” node does not yield the results I am looking for.
A ForLoop Node fires a LineTraceToChannel event 10 times and uses the logic seen in the screenshot to get a shotgun cone, however, as you can see in the second screenshot, the spread is not really circular.

Is there any alternative (apart from using random integers to add to the vector) that will yield a more random result?
I could try to increase the pallet count from 10, to say: 30 and decrease the DMG per pallet, I am afraid that this will put a high load on the server (multiplayer)