Search found 4 matches
- Mon May 23, 2022 4:08 am
- Forum: PyBullet Support and Feedback
- Topic: Object is not colliding with each other and is static
- Replies: 0
- Views: 44972
Object is not colliding with each other and is static
I had created an object in blender and imported it in pybullet, using urdf file I generated from blender. However, the object is static and is not colliding like a rigid body. It overlapped each other. I had tried several methods including flags, but it doesn`t work. Hope anyone could help me with t...
- Wed Apr 06, 2022 1:11 am
- Forum: PyBullet Support and Feedback
- Topic: How to remove bodyA when its in contact with bodyB?
- Replies: 2
- Views: 47516
Re: How to remove bodyA when its in contact with bodyB?
Don't think its needed to use "self". This method is resolved by writing this in code: import pybullet as p import pybullet_data import time physicsClient = p.connect(p.GUI) p.setAdditionalSearchPath(pybullet_data.getDataPath()) p.loadURDF('plane.urdf', [0,0,0]) cube1=p.loadURDF("cube...
- Wed Apr 06, 2022 1:10 am
- Forum: PyBullet Support and Feedback
- Topic: How to get multiple contact points between one object and multiple static object?
- Replies: 0
- Views: 46359
How to get multiple contact points between one object and multiple static object?
This code has worked before for one-to-one object. But I wanted to make one to multiple object contact. Multiple objects were created using the coordinates as in the code. this is my code, and I get some error because mis-use of probably the coordinates as a list, and I'm trying to put it as an argu...
- Tue Apr 05, 2022 12:34 pm
- Forum: PyBullet Support and Feedback
- Topic: How to remove bodyA when its in contact with bodyB?
- Replies: 2
- Views: 47516
How to remove bodyA when its in contact with bodyB?
this is the sample code. Then I uses "p.getContactPoint()" between bodyA and bodyB. Then, I would like to remove bodyA after they hit each other using p.removeBody(). This is the code: import pybullet as p import pybullet_data import time physicsClient = p.connect(p.GUI) p.setAdditionalSea...