vNicolef
09-30-2008, 05:58 PM
Hi there,
I'm currently using a haptic device (the PHANTOM OMNI) and haven't had any problems with it until now. When I set the marker to be a shovel, for example, the shovel twists and moves as I move the haptic device. However, when the shovel runs into another object, only the origin point of the shovel (which is in the middle of the shovel) collides with the object while the handle of the shovel moves freely, without collisions, through the object. How can I enable collisions for the whole shovel? I already tried shovel.collideBox(), but then there was a gravity problem where the shovel would move with the haptic device and fall at the same time. So then I tried shovel.collideBox() and shovel.disable(viz.DYNAMICS). This fixed the gravity problem, but the Shovel handle still won't collide with another object. What should I do?
Thanks,
Nicole
I'm currently using a haptic device (the PHANTOM OMNI) and haven't had any problems with it until now. When I set the marker to be a shovel, for example, the shovel twists and moves as I move the haptic device. However, when the shovel runs into another object, only the origin point of the shovel (which is in the middle of the shovel) collides with the object while the handle of the shovel moves freely, without collisions, through the object. How can I enable collisions for the whole shovel? I already tried shovel.collideBox(), but then there was a gravity problem where the shovel would move with the haptic device and fall at the same time. So then I tried shovel.collideBox() and shovel.disable(viz.DYNAMICS). This fixed the gravity problem, but the Shovel handle still won't collide with another object. What should I do?
Thanks,
Nicole