Ranged Grab Button
hammy275 opened this issue ยท 8 comments
Basically, the issue is, when you reach out to grab something, you pull your trigger, but your trigger usually, unless you change your configs, is your mine button. Which then brings the issue of, if you're in creative, you can't do it at all without destroying the area around you. Or if you're in survival and you're holding a tool, you probably are going to break the
I'll add this in for 1.2.2. It honestly shouldn't take too much effort to do.
Note to myself:
The vast majority of the infrastructure for this is already in place. We'll want to do a couple things:
- Add a cooldown to
RangedGrabTrackerClient
- Add a keybinding for this. Map it to F24.
- In
RangedGrabTrackerClient
, check if the keybinding is down or the conditions that we already use. If so, check ifselected != null
. If that's also true, proceed as normal.
It pretty much depends on #163 at the moment.
If I decide to add it for 1.2.2, I'd guess about a week's time at most. If not, a couple days most likely.
No guarantees on these timeframes, though!
I'm not sure of the point of a lock on indicator?
The moment you point at an item to pick up, you can pick it up (unless you're on cooldown from picking it up in the past, but looking over my code, I forgot to add a cooldown lol). But even if there were a small cooldown, there's no need to "lock on", since you can just pick up the item when you hover it due to how quick the cooldown would in-theory be.
potential idea for future regarding this, why not have an lock on indicator?
like, buttonless, point your hand to the object, wait a sec till particles turn a different color, then do the gesture?