Remove the green from a linetrace?

How can i remove that green? i just want to keep he red and completly remove the green from the linetrace :3? is this possible?

150197-removeit.png

so when it hits the green does not show up :stuck_out_tongue:

For what? Its just debug line.

Well, anyway, on trace node you can see small arrow in bottom. Click it, and you will see two color boxes. Try to set alpha of green one to 0

tried but it did not work :confused: tried that before

Remove the debug checkbox and add a cylinder to your actor. Elongate this cylinder and shrink it so that it looks like a laser. Then colour this one red.

HTH

If you want to make a laser, you should use beam particle for that.

Or you can disable debug draw on trace and use DrawDebugLine instead.

You cant ship with debug stuff. The moment you release your game it will not work anymore.

just really hard to make it act like a laser, already tried that, and beam particle was very messy for the things i was doing :#

But do you know how to disable it? Thanks.

this post is over a year old you probably shouldve just asked a new question.

anyways though to disable the debug line you just need to change one of the options on the line trace node, it should be something like draw debug just set it to none. the debug doesnt show by default so if you see it then you must have enabled it.

Thanks for answering tho. In fact i was refering to the green line, like OP did. That’s why I didn’t make a new post. It’s very confusing cause setting the Alpha of the TraceHit Color still results in a solid green.

like other people have mentioned why do you need to disable it? its not something that will show when packaged. the green vs red just means: green means hast hit anything yet, red means theres been a hit. if you just want to show a red line then you could easily set that up with a draw debug line. so i guess i just dont understand your purpose. i cannot think of a single reason you would need to disable the green portion.

I have like other debug drawings going on at the same time plus box, sphere and line traces so visual results become very confusing. Yeah, i was working on a custom box debug right now, made out of lines (just how it is made in the source code)

work on one thing at a time and disable whats not needed.

working on a custom box debug

theres a draw debug box in the engine so again, why? actually thats rhetorical. you dont make sense to me so im just going to walk away at this point.

Sorry i didn’t make it clear from the beginning maybe i wanted to know an answer for a simple question, im reconstructing the Draw Debug Box now cause i need to specify a start and an end. My multi box trace did just that, i only wanted to disable the hit result color because i don’t need to see it. So back to the OP’s question cause that’s the subiect, not my intention, can the hit result color be visibly turned off? :slight_smile: