Official Everybody Edits Forums

Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?

You are not logged in.

#1 2019-11-04 19:57:22

Joined: 2019-07-13
Posts: 577

What made 1x1 hooks possible?

1x1 hooks in EE.
No 1x1 hooks in EEU.

The public needs answers.


#2 2019-11-04 19:58:48, last edited by TaskManager (2019-11-04 19:59:11)

Formerly maxi123
From: i really should update this
Joined: 2015-03-01
Posts: 8,934

Re: What made 1x1 hooks possible?

**** physics and **** auto align
EDIT: nevermind auto align is related to 1x1 hovers

signature by HG, profile picture by bluecloud, thank!!
previous signature by drstereos


#3 2019-11-04 20:10:24, last edited by LukeM (2019-11-04 20:27:18)

From: England
Joined: 2016-06-03
Posts: 2,940

Re: What made 1x1 hooks possible?

tl;dr: it was an unintended consequence of allowing you to fall into one block gaps.

There's a problem with collision detection where if you have a gap with a width close enough to the width of an object, that object won't be able to fall into it. This is the reason why almost no games have a character with width exactly one block.

EE solved this with a bit of a hack. It only calculates collisions with the blocks in a 2x2 square around the position you'd end up after the end of a tick if you didn't collide with anything, which means that for a single frame you can actually go through the corner of a block as long as you do so in a single tick. Here's a diagram I made a while ago:

EEU however takes a pretty different approach, it keeps track of the direction you're trying to go when you're sliding against a block, and when you slide off the edge of a block it will prioritise this direction before the other if for example you're at the corner of a block. This leads to the same effect when it comes to sliding against a wall or the floor, but doesn't introduce the bug that allows you to jump through the corner of a block.

Edit: Here's a diagram of what EEU does:
(you can imagine that it's checking every block for collisions, although it omits some that don't make any difference for efficiency reasons)


Wooted by: (8)

#4 2019-11-04 22:01:31

Joined: 2019-07-13
Posts: 577

Re: What made 1x1 hooks possible?



#5 2019-11-05 00:25:25

Forum Mod
From: BiH/UK
Joined: 2015-02-18
Posts: 2,388

Re: What made 1x1 hooks possible?

Moved to Q&A.

One bot to rule them all, one bot to find them. One bot to bring them all... and with this cliché blind them.



Board footer

Powered by FluxBB

[ Started around 1590758834.5124 - Generated in 0.026 seconds, 12 queries executed - Memory usage: 1.32 MiB (Peak: 1.43 MiB) ]