rename loadUrdf -> loadMultiBodyFromUrdf in lua script

remove unused m_usrd2mblink
This commit is contained in:
erwin
2015-05-14 09:16:13 -07:00
parent e196ed1edb
commit c9a630e7c6
5 changed files with 8 additions and 11 deletions

View File

@@ -1,8 +1,6 @@
-- Very basic Lua script to create some Bullet objects.
-- See also Demos3/AllBullet2Demos using Demos3/bullet2/LuaDemo
-- See also examples/LuaDemo
--right now we cannot interleave adding instances of different shapes, they have to be added in-order
--hence the two loops. this will be fixed soon
world = createDefaultDynamicsWorld()

View File

@@ -14,7 +14,7 @@ body = createRigidBody(world,cubeshape,mass,pos,orn)
pos={0,10,0}
orn = {0,0,0,1}
mb = loadUrdf(world,"r2d2.urdf", pos, orn);
mb = loadMultiBodyFromUrdf(world,"r2d2.urdf", pos, orn);
pos={2,2,0}
orn = {0,0,0,1}
mb = loadUrdf(world,"r2d2.urdf", pos, orn);
mb = loadMultiBodyFromUrdf(world,"r2d2.urdf", pos, orn);