How could I stop my mouse from touching the walls?
I have the following screenshot which shows the node setup (this is the top down template so I did not set these nodes up myself).
I want the mouse to be blocked from moving to the very edge of the walls... so basically keep it within the boundaries of the room I have created... and one last thing, it is setup so that I need to hold right click to move around, is there a way I can click to start and then the right click does not need to be held down to move? The mouse is also green which I don't understand how as this blueprint setup looks short and simple.
Any advice will be appreciated and I am new to ue4.
asked Oct 17 '16 at 10:15 PM in Blueprint Scripting
I don't know how you could block the mouse from moving over certain Objects, if the walls are not in a Square around it, but you can set it up, so that it ignores that input. Just create a new trace channel in the Project settings and set the "get hit result under cursor by channel" to the new channel. Then go to the walls blueprint and set the new channel to "ignore". Also for the movement via holding you should post a screenshot, so i can see what could be the problem.
Hope this helps :)
Follow this question
Once you sign in you will be able to subscribe for any updates here