Page 1 of 1

Implementing a plier

Posted: Sun Jan 27, 2013 12:06 pm
by billias13
Hello,

i am developing an application for which i require to implement a plier that should grab and lift objects (small boxes, spheres or capsules). The plier consists of two parts (two sides) that rotate around an axis. So while the user clicks on a certain key, the plier is closing at a constant rate, and when the user clicks on another key, the plier opens at a constant rate. My question is, how can i restrict the motion of the pliers sides, so that when an object is grabbed, the plier will stop closing and the object will be grabbed?

Any advice on how this could be done in a robust and physically correct way ?
Thank you in advance