GodotVR / godot-xr-tools

Support scenes for AR and VR in Godot
MIT License
525 stars 75 forks source link

enable actions on hand snap points #666

Closed DanielKinsman closed 1 month ago

DanielKinsman commented 3 months ago

Handling pickables like two handed guns where you only want the "trigger" hand to fire it seems complex. I think it is simpler to add actions to the grab points instead of the pickable.

DanielKinsman commented 3 months ago

This is a quick fix which can perhaps be solved in a more holistic way, so happy to close it in favour of something more comprehensive. During the XR meeting someone mentioned just passing the controller events on down to the object directly, that would be nice. Perhaps something like a "pressed" event which tells the object: