Xr tools hands grab

Godot Version

Latest version from quest store

Question

Hi,

When using the grab node, is there a way to set it up for constraint movements?

So in general it is great to grab an object and move it from x to x2.
As far as i understand it temporarly makes it child of hand and on release physics are applied?

Lets say you want to just grab a lever, that is part of some machine , it should not detach from machine. Would it be possible with xrtools grab, maybe by limiting x,y,z translate or Rotation axis or by creating some simulated constraints limiting movement by colliders so the movement is only as the lever would behave in real.
Or lets say a lever that is part of some rotating mechanism where you grab the lever to turn a wheel so it pulls some rope. So instead of detaching the lever the hand movement moves the wheel.
Or would it be necesary to use joints from the scretch. In that case is it possible to use the grab node and deaciviate physics to just use the handposition and Highlight functiion and catch the grab Signal and solve it by Animation?

Thank you
Cheers

@telosz, if you try out the XR Tools demo project (you can find this in the asset library when creating a new project), you will find a folder /scenes/interactables_demo in which you’ll find a number of examples on how to do levers and such using XR Tools.

Thank you again. Great ressource you created with xrtools.
And demo has lot of usecase.

Great work
Best

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.