-
Hi all, I am trying to implement a simulation where the user can press a button to "pick up" an object, which I want to just essentially be attaching one object to another. I also want them to be able to place an object, or detach the two. I have one cylinder object that is a multi body and one object loaded in from a URDF file. I saw the joinURDF.py example in pybullet utils and have also tried with constraints. However, there is a delay with the constraint as the attachment does not seem to be rigid. I was wondering what would be the simplest way to implement joinURDF as well as the opposite (detach the two)? Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Try to figure out the point in 3d space where the body gets picked by, then create a simple point to point constraint and keep it while the body is "picked up":
if you wanna grab the body around by the picking point, then you need to change the frame:
hope that helps! |
Beta Was this translation helpful? Give feedback.
Try to figure out the point in 3d space where the body gets picked by, then create a simple point to point constraint and keep it while the body is "picked up":
if you wanna grab the body around by the picking point, then you need to change the frame: