Going to put it out there now that the bounce property for the projectile component doesn’t behave properly for this as it bounces more for direct hits as opposed to less.
I’m attempting to make arrows deflect off surfaces when the arrow trajectory is skimming the surface of another object. Here is what I’m working on: - YouTube – but there are problems. I’ve decided the best route is to run a trace at a slight offset of the arrows forward vector. See example photos…
Basically if I hit a 0 degree wall at 90 degrees I want the arrow to stick, that’s easy enough.
If I were to hit the same 0 degree wall at 10 degree angle either vertically or horizontally I want the arrow to deflect.
Let’s say the arrow hits the wall traveling forward at x 50, y 25. I want to send a trace a few degrees off of the traveling path. eg: x 70, y 45. I’m having difficulties figuring out how to do this.