magcius / noclip.website

A digital museum of video game levels
https://noclip.website/
Other
3.23k stars 251 forks source link

Source Engine: func_button & func_rot_button outputs #638

Open ertup0 opened 6 months ago

ertup0 commented 6 months ago

Maybe a context menu with an ability to send {press} input to a specific func button with a specific name

magcius commented 6 months ago

The main issue here is going to be supporting collision; we already have some support for brush but we don't have a raycaster. We could cheat by testing for buttons in close proximity and in the center of the screen, but I'm not sure if that would be a workable solution.

No support for context menus will be added, if anything, it will be a dedicated keyboard press to activate nearby buttons, perhaps R.