Problem
As a Roblox developer, while it is possible to alter the mode switch key bind of a DragDetector, it is impossible to change their default button mapping. ButtonR2, while ideal in some circumstances, overwrites a common action / interaction button which leads to suboptimal behavior.
In my game, doors are controlled with DragDetectors, and you may want to open a door while holding an item in your hand. Ideally, the button to use an item would be the right trigger, but as DragDetectors use this button by default, using R2 for items causes annoying interactions.
Examples
- Opening a door causing you to toggle off a vital item, or
- Opening a door causing you to simultaneously fire your weapon
As triggering a DragDetector is not considered a game processed event, it is very difficult to prevent these “double inputs” from occuring.
Suggestion
ProximityPrompts have a feature that enables you to change the input that triggers the prompt. A similar system for DragDetectors, where the detector listens for an arbitrary input instead of a hardcoded input would allow them to be used far more seamlessly on controllers.