Discussions
Sign In
Forum rules
- please read before posting.
3ps camera dragging with right-click
zerberr
May 2017
in
Technical Q&A
Hello!
So as title says, my question is if it's possible to drag 3rd person camera with right mouse button (not left as it is now), and how can that be achieved?
Thank you!
Comments
ChrisIceBox
May 2017
Can't currently without editing some code, but I'll add this in an update.
In the meantime, you can amend PlayerInput.cs line 297 (in AC v1.57):
else if (InputGetMouseButton (0) || InputGetButton ("InteractionA"))
with:
else if (InputGetButton ("Drag"))
And then map a new Input Manager axis named "Drag" to the RMB ("mouse 1" IIRC).
zerberr
May 2017
That worked beautifully, thank you very much!
ChrisIceBox
May 2017
No problem - it's not quite perfect after testing, but v1.57a will expose a "drag input override" in the PlayerInput component.
Sign In
or
Register
to comment.
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Quick Links
Categories
Recent Discussions
Categories
12.5K
All Categories
66
Official news
1.5K
Engine development
10.5K
Technical Q&A
337
Games showcase
150
Extending the editor
229
Adventure talk
Welcome to the official forum for Adventure Creator.
Forum rules
Main website
Store page
Community wiki
Community Discord
Powered by Vanilla
Comments
In the meantime, you can amend PlayerInput.cs line 297 (in AC v1.57):
else if (InputGetMouseButton (0) || InputGetButton ("InteractionA"))
with:
else if (InputGetButton ("Drag"))
And then map a new Input Manager axis named "Drag" to the RMB ("mouse 1" IIRC).