This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extends TileMap | |
# Declare member variables here. Examples: | |
# var a = 2 | |
# var b = "text" | |
var height = 5 | |
var width = 500 | |
var loops = 6 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extends KinematicBody | |
var FOWARD = 200 | |
var MOVEMENT = 200 | |
var JUMP = Vector3(0,100,0) | |
var RUN_SPEED = 300 | |
var mouse_threshold = 10 | |
var mouse_sens_dampened = 0.01 | |
var mouse_sens = 0.01 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bpy | |
def export_all_obj(exportFolder): | |
objects = bpy.data.objects | |
for object in objects: | |
bpy.ops.object.select_all(action='DESELECT') | |
object.select = True | |
exportName = exportFolder + object.name + '.obj' | |
bpy.ops.export_scene.obj(filepath=exportName, use_selection=True) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bpy | |
import os | |
basedir = bpy.path.abspath('//shadefoot/story_mode/ch1/trees/maple/') | |
bpy.ops.object.select_all(action='DESELECT') | |
scene = bpy.context.scene |
OlderNewer