Collision detection with haptic pen
Hello. I can get collision detection to work on normal objects, but when I try to use it with the haptic pen it does not trigger the event on collision.
I try to just make collide spheres on both a box and on the pen's marker. However, when I move the marker with the pen such that it touches the box I get no collision event. Why is this? How can I detect the collision of the pen with an object? Do I have to just use the haptic pen's touch objects? Thanks! |
1 Attachment(s)
For reference I have included the latest version of the script. I am now trying to simply query the touch objects of the haptic pen. However, the balls are not showing up as being touched.
|
I solved the problem using a work around, but I am still interested in knowing if collision detection can work with the haptic pen. I cannot get it to work at all. If I set collision detection to work on both the pen's marker and an object in the world even when I touch the object I get no collision event triggered.
|
Can you post the original code you were using that did not work? I am not clear on what you mean by "collision detection". Are you referring to the physics collide events?
|
All times are GMT -7. The time now is 07:35 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC