Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
basic_robot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Illuna-Minetest
basic_robot
Commits
29f44103
Commit
29f44103
authored
6 years ago
by
rnd
Browse files
Options
Downloads
Patches
Plain Diff
..
parent
532a017b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
commands.lua
+2
-2
2 additions, 2 deletions
commands.lua
with
2 additions
and
2 deletions
commands.lua
+
2
−
2
View file @
29f44103
...
...
@@ -46,9 +46,9 @@ local function pos_in_dir(obj, dir) -- position after we move in specified direc
yaw
=
yaw
+
pi
/
2
;
pos
.
y
=
pos
.
y
+
1
elseif
dir
==
12
then
-- right_up
yaw
=
yaw
-
pi
/
2
;
pos
.
y
=
pos
.
y
+
1
elseif
dir
==
1
4
then
-- forward_up
elseif
dir
==
1
3
then
-- forward_up
pos
.
y
=
pos
.
y
+
1
elseif
dir
==
1
3
then
-- backward_up
elseif
dir
==
1
4
then
-- backward_up
yaw
=
yaw
+
pi
;
pos
.
y
=
pos
.
y
+
1
end
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment