Community
VRED Forum
Welcome to Autodesk’s VRED Forums. Share your knowledge, ask questions, and explore popular VRED topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Attach geometry node to VR hand?

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
patrik7LNB2
318 Views, 2 Replies

Attach geometry node to VR hand?

Trying to constrain/attach a Scenegraph node to a tracked VR hand using vrConstraintService.createParentConstraint(), but it doesn't seem to want to take the VR hand object as an argument. Suppose that function only works with Scenegraph nodes.

 

Purpose is to be able to move an object with a tracked hand.

 

Is there any way of constraining a Scenegraph node to the transform of a tracked VR hand?

2 REPLIES 2
Message 2 of 3

Hello,

There is an example script in ~examples/vr/attachToController.py that also works for Tracked Hands.

 

Regards,

Dan

Message 3 of 3
patrik7LNB2
in reply to: patrik7LNB2

Thanks, works now. 🙂

 

Another problem though: I only want the Vset script constraining the target to the constrained object to be active as long as I "touch" the touch sensor that triggers the Vset. Tried figuring out how to check if the sensor is active but can't really understand how to use the vrTouchSensor module. Maybe that's not the way to do it. Isn't there just a setting somewhere allowing for Touch Sensors to deactivate once you end overlap? 🙂

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report