1. Reversed the directionality of the conveyors again, so that the movement direction matches the facing direction.

2. Fixed minor bugs with the animations - which should be completely seamless now except for mapblock borders.
3. Also modified the side texture a little bit.
This commit is contained in:
rdococ 2017-07-31 18:16:31 +01:00
parent a963f93e94
commit 6f394738e3
4 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ minetest.register_globalstep(function (dtime)
if name == "rmod:conveyor" then -- I might replace this with a group, e.g. def.groups.conveyor, so you can set the speed.
local facing = node.param2 -- Param2 is the facedir as defined above - conveyors face the opposite direction they move you.
local direction = minetest.facedir_to_dir(facing)
local movement = vector.multiply(direction, {x=-1, y=-1, z=-1}) -- We reversed the facing system recently...then reversed it back.
local movement = vector.multiply(direction, {x=1, y=1, z=1}) -- We reversed the facing system recently.
local newpos = vector.add(position, movement)
local newrpos = {x=round(newpos.x), y=round(newpos.y), z=round(newpos.z)}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 249 B

After

Width:  |  Height:  |  Size: 270 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 276 B

After

Width:  |  Height:  |  Size: 279 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 279 B

After

Width:  |  Height:  |  Size: 299 B