Announcement

Collapse
No announcement yet.

Random Unit Vector in Cone does not seem that random

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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)

    #2
    Using a shotgun pallet count of 30 seems to yield more random results. Would this impact performance much? my target is to have 16 players in one game, if 2 or 3 fire their shotgun at the same time you could have 90 line tracers in one tick, on top of that there is machineguns etc. so maybe 120+ linetracers in one tick.

    Comment

    Working...
    X