Line trace go through wall angles

What did you mean? where can i set that???

Object Channels !

1 Like

Bruhhh, nothing…

There has to be something misconfigured on your end. I’ll build it out on my end later this evening.

1 Like

okay

I went with a different approach. Much easier, less work.

Add a Socket (NoClipTrace) to your weapon that is inline with the muzzle and back near the magazine.

Next create a Function (Muzzle Clip Check).

This function will execute a sphere trace from the new socket to your muzzle. This will cover instances where your weapon is clipping, but your muzzle isn’t. You’ll have to do some testing for scaling the radius. It should be roughly the radius of your barrel.

Drop the Muzzle Clip Check into your can I fire logic.

Sphere trace is Orange.

2 Likes

As i can see it works, but i also want if clipping to shoot at the location that the bullet clipping

Get the clip hit result “Impact Point” and use that as your hitscan “hit” location. Edit the return node to pass that vector or the entire hit result. No need to fire another trace.

On the Branch [TRUE]: Apply muzzle fx and sound, just pop the hit decal at that clip location.

1 Like

THANK YOU VERY MUCHHHH U SAVED ME, THANKS FOR YOUR TIME

1 Like