#1
|
|||
|
|||
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 |
#2
|
|||
|
|||
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.
|
|
|