package.path = package.path .. ";./assets/scripts/?.lua"
require "tinyandbig"
require "luascape.math"
require "settings"

function init(tiny)
  tiny.characterController.maxSlope = 0.78 * 1.5
  tiny.characterController.direction = Vector(0,0,1)
  tiny.characterController.jumpImpulse = settings.tiny.jumpImpulse
  tiny.characterController.rotationSpeed = settings.tiny.rotationSpeed
  tiny.characterController.speedForward = settings.tiny.speedForward
  tiny.characterController.speedBackward = settings.tiny.speedBackward
  tiny.characterController.speedStrafe = settings.tiny.speedStrafe
  tiny.node.children[0].castsShadows = true
end