- What do you want to achieve? Keep it simple and clear!
I want to unbind the default ButtonR3 input on gamepad and bind it to a different function.
- What is the issue? Include screenshots / videos if possible!
ButtonR3 is, by default, binded to “Reset Zoom” on console. The issue, however, is that in our game we have a fixed camera. There is no zoom to reset since the camera is always a fixed distance from your character. Why would this button be reserved by a feature that has no use in our game?
- What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I’ve tried to use ContextActionService to override the button with the function that I want to use, but to no avail.
game:GetService("ContextActionService"):BindAction("Override_ButtonR3",function() print("use") end, false, Enum.KeyCode.ButtonR3)
When looking on the DevForum, one of the responses was by a Roblox employee stating that it was reserved for the camera function. Another response prompted to edit the default CameraModule, but that post is outdated. Should editing the CameraModule work, please to tell me, i’ll be happy to try it out. So far i’ve tried looking around, but simply looking up “ButtonR3” only brings up controls for the Vive VR headset.
Thanks for reading, any help is appreciated,
- Stro