Question about collision for Hand model(bones)
Hello.
I'm using Hand model with patriot(Polhemus). I have tried some methods for hand model collision because I want the hand model to grab object. But when I try to apply collision, I get error messages every time. My method is like this.... Code:
hand=viz.add('hand.cfg') Please give me ideas about that. Thank you for reading. |
I have solved the problem by myself.
Thank you. But I've got another question. When I use For example,,, ground=viz.add('shpere_ground3.ive') ball=viz.add('white_ball.wrl') ball.setScale(.1,.1,.1) ball.setPosition(0,.5,0) ball.collideSphere() In this case, collision doesn't happen(ball falls down through ground). But if I change the scale of the ball(I make the ball bigger like [2,2,2]), collision can be seen. What is the reason for this? Please give me some advice. Thank you for reading. |
Vizard uses the ODE physics engine and we have noticed that it has problems computing collisions for very small objects. I would suggest avoiding using small scales on physics objects if possible.
|
Hi, thank you for your advice.
Fortunately, to avoid using small scales is not big problem for me. I will try with big scaled objects. Thank you very much. |
All times are GMT -7. The time now is 10:19 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC