Yellow-Dog-Man / Resonite-Issues

Issue repository for Resonite.
https://resonite.com
135 stars 2 forks source link

Allow disabling lasers while grabbing an object #1648

Open sctanf opened 5 months ago

sctanf commented 5 months ago

Is your feature request related to a problem? Please describe.

Same as https://github.com/Yellow-Dog-Man/Resonite-Issues/issues/1647 where I wanted to disable lasers while grabbing sliders on an object (steering wheel). I want some way to disable lasers so its less easy to accidentally hit buttons while using trigger as input.

Describe the solution you'd like

A component that goes on the grabbable which disables lasers, or as an option on grabbable components (slider)

Describe alternatives you've considered

I can equip tools to users https://github.com/Yellow-Dog-Man/Resonite-Issues/issues/1647 however this has issues

Additional Context

No response

Requesters

sctanf

shiftyscales commented 5 months ago

There is already a mechanism present inside of the context menu to turn off lasers- is that insufficient for your needs? I didn't see it listed in your alternatives.

sctanf commented 5 months ago

There is already a mechanism present inside of the context menu to turn off lasers- is that insufficient for your needs? I didn't see it listed in your alternatives.

This isn't sufficient for me since it is several extra steps to manually disable lasers, especially when they only need to be disabled while holding objects/steering wheel, then enabled again if the user needs to interact with any interface. I only considered ways that the lasers could possibly be disabled automatically such as by flux or by components

ModernBalloonie commented 5 months ago

I think what they need is if you're physically grabbing let's say: a slider based steering wheel. If you need to press trigger to accelerate on a vehicle while holding said slider, your laser might interact with things, which could be unwanted in this circumstance. You can disable your laser manually but there's a problem. What if you just want to hit a button on said vehicle by taking your hand off the slider? You'd have to enable your laser again.

lxw404 commented 5 months ago

A ProtoFlux-based solution to this might be the most flexible to cover this scenario, and could open up some other ways to use it for game mechanics which can suffer from unwanted laser use as well.