mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-28 05:21:05 +01:00
Change verticle offset for testing reattaching to rail to 0.55, which is a bit more than the stair step height
This commit is contained in:
parent
10fd9bb918
commit
120af0f434
1 changed files with 2 additions and 2 deletions
|
@ -526,8 +526,8 @@ local function do_detached_movement(self, dtime)
|
|||
local yaw_dir = minetest.yaw_to_dir(yaw)
|
||||
local test_positions = {
|
||||
pos,
|
||||
vector.offset(vector.add(pos, vector.multiply(yaw_dir, 0.5)),0,-0.3,0),
|
||||
vector.offset(vector.add(pos, vector.multiply(yaw_dir,-0.5)),0,-0.3,0),
|
||||
vector.offset(vector.add(pos, vector.multiply(yaw_dir, 0.5)),0,-0.55,0),
|
||||
vector.offset(vector.add(pos, vector.multiply(yaw_dir,-0.5)),0,-0.55,0),
|
||||
}
|
||||
|
||||
for i=1,#test_positions do
|
||||
|
|
Loading…
Reference in a new issue