add same plane mesecon rules

master
Buckaroo Banzai 2020-11-23 20:38:54 +01:00 committed by GitHub
parent 7574e266a1
commit 4513e2de54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -4,10 +4,16 @@ local get_switch_rules = function(param2)
-- param2 = 2
local rules = {
-- lower plane
{x=1, y=-1, z=-1},
{x=1, y=-1, z=1},
{x=0, y=-1, z=-1},
{x=0, y=-1, z=1},
-- same plane
{x=1, y=0, z=0},
{x=-1, y=0, z=0},
{x=0, y=0, z=1},
{x=0, y=0, z=-1},
}
-- Left and right when looking to +y ?