fix asset paths, createVisualShape.py and duck.obj

This commit is contained in:
erwincoumans
2017-10-07 18:52:22 -07:00
parent cec8da3d85
commit 3826dddc83
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
# Blender v2.68 (sub 0) OBJ File: '' # Blender v2.68 (sub 0) OBJ File: ''
# www.blender.org # www.blender.org
mtllib duck_smooth.mtl mtllib duck.mtl
o LOD3sp_LOD3spShape o LOD3sp_LOD3spShape
v 0.096715 0.101379 -0.190519 v 0.096715 0.101379 -0.190519
v 0.141171 0.101501 -0.158543 v 0.141171 0.101501 -0.158543

View File

@@ -14,7 +14,7 @@ p.configureDebugVisualizer(p.COV_ENABLE_TINY_RENDERER,0)
shift = [0,-0.02,0] shift = [0,-0.02,0]
meshScale=[0.1,0.1,0.1] meshScale=[0.1,0.1,0.1]
visualShapeId = p.createVisualShape(shapeType=p.GEOM_MESH,fileName="duck_smooth.obj", rgbaColor=[1,1,1,1], specularColor=[0.4,.4,0], visualFramePosition=shift, meshScale=meshScale) visualShapeId = p.createVisualShape(shapeType=p.GEOM_MESH,fileName="duck.obj", rgbaColor=[1,1,1,1], specularColor=[0.4,.4,0], visualFramePosition=shift, meshScale=meshScale)
#boxHalfWidth=.5 #boxHalfWidth=.5
#boxHalfHeight=.5 #boxHalfHeight=.5
#boxHalfLength=.5 #boxHalfLength=.5