Additionally, I've tried reading the distance between the model and floor, i.e.
Code: Select all
conPts = p.getContactPoints(bodyA = walker,
bodyB = planeID)
closePts = p.getClosestPoints(bodyA = walker,
bodyB = planeID,
distance = .1)
Code: Select all
walker = p.loadURDF("...",
basePosition = cubeStartPos,
baseOrientation = cubeStartOrientation,
flags = p.URDF_USE_SELF_COLLISION_INCLUDE_PARENT|p.URDF_USE_SELF_COLLISION|p.URDF_MAINTAIN_LINK_ORDER)
One other thing I've noticed is that if I create objects within PyBullet (like with createMultiBody) then collision will work properly. Have any of y'all had this issue and if so, what am I missing here?