games/digger: Switch to previous starting position

This commit is contained in:
Perttu Ahola 2014-10-22 10:11:50 +03:00
parent 8a3c777f77
commit 45a33aa8c7

View File

@ -152,8 +152,8 @@ local player_node = scene:CreateChild("Player")
local player_shape = player_node:CreateComponent("CollisionShape") local player_shape = player_node:CreateComponent("CollisionShape")
do do
--player_node.position = magic.Vector3(0, 30, 0) --player_node.position = magic.Vector3(0, 30, 0)
player_node.position = magic.Vector3(55, 30, 40) --player_node.position = magic.Vector3(55, 30, 40)
--player_node.position = magic.Vector3(-5, 1, 257) player_node.position = magic.Vector3(-5, 1, 257)
player_node.direction = magic.Vector3(-1, 0, 0.4) player_node.direction = magic.Vector3(-1, 0, 0.4)
---[[ ---[[
local body = player_node:CreateComponent("RigidBody") local body = player_node:CreateComponent("RigidBody")