Decals shot from weapon not sticking

The ‘Print String’ Text at the end of it kicks with the object I’m hitting the trigger at, when I’ve made the rays persistent through a clear block The line goes where I want it to, but at the hit point the line keeps going but yellow instead of red.
I’ve tested the decal on the ground to make sure it shows.

Have you checked to make sure the object your shooting has its collision settings to “block” the visibility channel?

  1. Thank you for reading replying
  2. yes, Collision Preset ‘Physics Actor’, currently all channels blocked

When you line trace, get a branch and tie the line trace return value bool to it. Right now you are spawning after the line trace, not the hitted object. make sure it is hitted, after you can spawn it.


Still doing it, as a side note, the text is spitting out the object I’m shooting, and it comes from the hit object, and I attached the “Destroy Actor” to the end and it destroys the right actor.

Ty though, did give me something else to try.

1 Like

Update:
Have added Text out for:
HitActor Object Name
SpawnDecal Return Value
Spawn Location and Rotation

I’ve been using this to map out a small cube to make sure the info is valid, and sure enough I get a cube halfway into my target, with the right rotation.
Also just grabbed a decal pack from FAB in case it was something wrong with my material, same thing. Madness. :joy:

Note, the Decal does not show up in the world view list, at all. I gave it a lifetime of 60 seconds, let out 40+ shots as a sanity check, nothing.
Like they are instantly destroying

Also, this is being done from a WeaponBP that is spawned inside a characterBP.
Though, I tried it with the characterBP directly and am getting the same results. There has to be some setting I’m missing, something stupid.

So It’s both fixed and I have no idea what happened.
I created a new scene, open world style, gave the ground moss and added a white all, custom collision block everything, and now it works.

Tested the decal I made? Still works. I was originally testing in the thirdperson test level, but that place is dead to me now. :joy:

Thanks everyone, have a wonderful day!

1 Like

Hmm seems like collision is registering based off your other posts. Perhaps it’s an issue with how/where the decal is being projected, perhaps try playing around with the values pertaining to scale and angle, perhaps try pulling off the “impact normal” pin instead of just normal

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.