How to increase hit box ray cast

I am wondering how I would increase the width of a beam for ray cast hit player so that it’s not pixel perfect. Like moira ult. And then apply knock back to the players that it hits

I think thats possible but its super complicated, theres no way to fondle with hitboxes in any way in the work shop, but there is a way to deal damage manually or if the position of your crosshair is at a particular area. Although Im not a master of this so this is all i have to tell for you :frowning:

Okay thank you very much, I will look for it somewhere

The key is an orthogonal projection of the target players positions to the facing direction of the event player.
As someone else requested something similar today, I will see if I can get this done.

0GT6E

This is a demonstration of a beam with a bigger hitbox. Hold interact to create the beam and aim towards the bots.
If you wonder about the math behind it, you can enable the disabled rules and crouch to see the important vectors in this calculation.

1 Like