Open komdog opened 3 years ago
+1. I used some LogiX to drive AllowOnlyPhysicalGrab based on the distance to a user's hand. However, if you have hundreds or thousands of grabbable objects in the world, it seems that the user hand distance calculation would have to be performed on every object, every frame.
I'm not sure if adding MinDistance/MaxDistance would have the same impact or not. In any case, this would be very convenient to have.
Bonus points if, when the grabbable is laser-grabbed and the user lasers it farther away than MaxDistance, the grabbable is ungrabbed.
Is your feature request related to a problem? Please describe.
While working on a game during MMC 2021, I thought that game worlds would benefit greatly from being able to control the range at which something can be laser grabbed. This could really help the game designer keep control of the players ability to reach things from very far away.
I hit a small bump in the road after finding out that desktop users cannot physically grab anything; so in order to make our game worlds desktop friendly. I had to create a system with Logix that manually detects if a user is near the object; I've speculated that this can potentially cause problems since
NearestUserHand
is not local.I tried using the
UserDistanceValueDriver<bool>
to control the grabbable state, but this caused a bug that would cause the player randomly drop the item, despite being within the detection radius.Relevant issues
No response
Describe the solution you'd like
Something of this nature Just the ability to specify as radius in which laser grabbing would work.
Describe alternatives you've considered
I've used Logix to account for this but it become tedious to copy that string of Logix on every object that I'd prefer to have this system on.
Additional context
No response