8 M_sphere.setTranslation(np.array([-0.6, 0.0, 0.0]))
9 sphere_obj.setTransform(M_sphere)
15 M_box.setTranslation(np.array([-0.6, 0.0, 0.0]))
16 box_obj.setTransform(M_box)
19 collision_manager.registerObject(sphere_obj)
20 collision_manager.registerObject(box_obj)
22 assert collision_manager.size() == 2
24 collision_manager.setup()
28 collision_manager.collide(sphere_obj, callback)
30 assert callback.data.result.numContacts() == 1