WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 11-11-2013, 09:00 AM
rmcconnell11 rmcconnell11 is offline
Member
 
Join Date: Mar 2013
Posts: 28
Hand Function

Hi Guys,

I was wondering if someone could tell me why my objects seem to rotate about a point when grabbed?
I just can't seem to get a grasp on what exactly is going on with the grab hand function.

Thanks

This is what I have called, also attached the pdf

import viz
import viztracker
import World

# Set up tracking using the viztracker library
viztracker.DEFAULT_HANDS = True
viztracker.go()

#Set the physics step size
viz.phys.setStepSize(5)

# Pass in the list of hands to the physics engine for processing
import GrabHand
GrabHand.GrabHandList(World.grabObjects, handlist=viztracker.getHandList(), springs=True) # Reversing the argument order causes problems
Reply With Quote
  #2  
Old 11-21-2013, 05:20 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
When springs is enabled the grabbed object is not rigidly attached to the hand. Perhaps this is causing the rotations you're noticing. You could try setting that to False. Without springs there maybe issues when the grabbed object collides with another objects in the scene.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 04:27 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC