I created a decal component in my game. This component lies in the TacticalLaser Attachment BP.
I’m running a line trace on a timer and just updating the world location of the decal where the trace ends. It’s projecting just fine on ground and a few spots (which are also perpendicular to the ground) but not on the actual stuff like doors buildings etc.
The line trace is fine, I tested it. The decal is being projected that’s for sure but at certain angles on certain objects it’s not proper.
How can I fix this ?? Please help
The node has nothing. Its a custom event that uses a bool to toggle the timer and the timer has another event that fires the line trace and toggles the visibility of laser static mesh + setting the location of the decal component. It’s really simple that’s why I omitted it. It has something to do with the decal but I’m not sure what it is.
If you still need it then I’ll upload a screenshot here
There you go. I’m using the laser static mesh as the centre and using it’s FV for trace. Line trace hits it perfectly on all surfaces. Somehow the decal messes up
Thanks mate. I did that but for some reason it was still the same. I thought maybe I reduced the size too much so I kept the default rendering size for decal but scaled it from the details panel. And I found some weird issues.
Watch this. It disappears randomly. It is being projected but somehow it decided to be invisible at certain parts of the world objects
I used the node “Set world location and rotation” like you used and reset the size and then manipulated the overall scale. Restarted the editor and now it’s projecting on more assets and certain angles. So i’m pretty sure it’s a normal issue due to collision. Will try some fixes and will let you know. Thank you for your help so far !!