- surface_prop: bpy.props.EnumProperty(
- name="Surface Property",
- items = [
- ('concrete','concrete','',0),
- ('wood','wood','',1),
- ('grass','grass','',2)
- ])
-
- collision: bpy.props.BoolProperty( \
- name="Collisions Enabled",\
- default=True,\
- description = "Can the player collide with this material"\
- )
- skate_surface: bpy.props.BoolProperty( \
- name="Skate Surface", \
- default=True,\
- description = "Should the game try to target this surface?" \
- )
- grind_surface: bpy.props.BoolProperty( \
- name="Grind Surface", \
- default=False,\
- description = "Grind face?" \
- )
- grow_grass: bpy.props.BoolProperty( \
- name="Grow Grass", \
- default=False,\
- description = "Spawn grass sprites on this surface?" \
- )
- blend_offset: bpy.props.FloatVectorProperty( \
- name="Blend Offset", \
- size=2, \
- default=Vector((0.5,0.0)),\
- description="When surface is more than 45 degrees, add this vector " +\
- "to the UVs" \
- )
- sand_colour: bpy.props.FloatVectorProperty( \
- name="Sand Colour",\
- subtype='COLOR',\
- min=0.0,max=1.0,\
- default=Vector((0.79,0.63,0.48)),\
- description="Blend to this colour near the 0 coordinate on UP axis"\
- )
- shore_colour: bpy.props.FloatVectorProperty( \
- name="Shore Colour",\
- subtype='COLOR',\
- min=0.0,max=1.0,\
- default=Vector((0.03,0.32,0.61)),\
- description="Water colour at the shoreline"\
- )
- ocean_colour: bpy.props.FloatVectorProperty( \
- name="Ocean Colour",\
- subtype='COLOR',\
- min=0.0,max=1.0,\
- default=Vector((0.0,0.006,0.03)),\
- description="Water colour in the deep bits"\
- )
-#}
+ cv_draw_ucube(route.matrix_world,cc,Vector((0.5,-7.5,6)),\
+ Vector((0,-6.5,5.5)))
+ cv_draw_ucube(route.matrix_world,cc,pole, Vector(( 0.5, 0.5,0)) )
+ cv_draw_ucube(route.matrix_world,cc,pole, Vector(( 0.5,-13.5,0)) )
+ cv_draw_ucube(route.matrix_world,cc,hat, Vector((-0.5,-6.5, 12)) )
+ cv_draw_ucube(route.matrix_world,cc,hat, Vector((-0.5,-6.5,-1)) )