How much performance would raycasting hundreds of times every second cause?

Im making a long distance artillery gun which works by raycasting hundreds of times to form a arch. each raycast is only around 5 studs long, however I am planning to do the arch raycasting every time the player adjusts the aim of the artillery so they can see where the rockets will hit.

will this cause performance issues?

I think you should be fine as long as the raycast length is not too long.

1 Like

oh I didnt see this was a year ago :skull: