fix asset paths, createVisualShape.py and duck.obj
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user