In my game, the player moves npcs with right-click (like a RTS), and I’m trying to move the npc to the second floor of this house but I end up clicking the roof of the house, this happens because the opacity of the material doesn’t affect the visibility collision channel. Is there a way to click on the 2º floor so that the npc moves to the red carpet?
Hey there @bostonDownamics! Depending on if you’ll ever use this same transparency for upper floors, you may need to pull other options. Depending on if you’ll ever need to be on the roof, you could just change the trace collision on the mesh itself to ignore while it’s not a floor you’re able to interact with, however this would be tricky depending on how the game works. Technically you could make a context sensitive multitrace if there’s obvious ways to get context, like saying the player can only path a floor up or down from themselves or things like that.
In the editor I get the functionality that I’m looking for, I’m able to interact trough transparency.
How does the editor selection work and is there a way to implement something similar, I’m using “Get Hit Result Under Cursor by Channel”, and I’ve also tried the same node but for Object
