Hand bouncing off to infinity
Posted: Wed Dec 13, 2017 9:40 pm
Hey folks,
I'm trying to use a simple robotic hand in an open environment to interact with a pyramid shaped object. Everything seems to be mostly working, however the hand can bounce off to infinity under certain circumstances. I suspect this is to be expected for an expert, but I'm new to the engine so I'm sure I'm doing something stupid.
What I'm aiming for is a freely moving hand that is flat unless the user deliberately rotates the palm out of the horizontal plane. In previous iterations of the code, moving the hand up and down would cause the hand to torque and rotate such that the thumb was pointing either up or down. I fix this by setting the angularDamping with the p.changeDynamics function, but I suspect this may be causing the bouncing off to infinity issue.
I've recorded a screencast of the hand bouncing off to infinity, as well as provided a gist of all the code and model files.
https://gist.github.com/MachineLearning ... bd1e7c7b8f
https://youtu.be/vTzrNlqmQn8
Any insight into what I'm doing incorrectly would be greatly appreciated.
I'm trying to use a simple robotic hand in an open environment to interact with a pyramid shaped object. Everything seems to be mostly working, however the hand can bounce off to infinity under certain circumstances. I suspect this is to be expected for an expert, but I'm new to the engine so I'm sure I'm doing something stupid.
What I'm aiming for is a freely moving hand that is flat unless the user deliberately rotates the palm out of the horizontal plane. In previous iterations of the code, moving the hand up and down would cause the hand to torque and rotate such that the thumb was pointing either up or down. I fix this by setting the angularDamping with the p.changeDynamics function, but I suspect this may be causing the bouncing off to infinity issue.
I've recorded a screencast of the hand bouncing off to infinity, as well as provided a gist of all the code and model files.
https://gist.github.com/MachineLearning ... bd1e7c7b8f
https://youtu.be/vTzrNlqmQn8
Any insight into what I'm doing incorrectly would be greatly appreciated.