Author Topic: Picking Up Physics Bricks  (Read 1694 times)

Player clicks the mouse with no tools
This sends a message to the server, which repeats it to all players that they may be trying to pick up a brick
EACH CLIENT COPY checks all physics bricks in front of the client to see if they can be picked up
If it is, brick hovers in front of that player until they release it, otherwise ignore (e.g. lag)
Result: "picking up bricks", appears fine clientsided, with no errors and few messages

If there is lag or disconnection between clients and a brick appears out of place, they won't pick it up for anyone out of sync. Simple.

This method also fixes the problem of the server not being able to see if you can pick up the brick: it doesn't have to.

Physics bricks simulations can differ vastly for everyone, the chance of everyone seeing the same brick that is in front of a person trying to pick it up is so ridiculously small that it'd rarely work at all. Then if the person is clicking into a pile of physics bricks, people would see the person pick up different types of brick. Besides, it seems like a pretty useless feature given that most conversations will consist of:

"Lol look at me holding this tree"
"What you're just standing there"
"No i'm holding a tree dude"
"No, you're not"
"Well, take that then!"
"Take what?"
"I just threw it at your face..."
"Uh huh"

I was assuming that the physics would appear relatively similar to everyone unless the server had lag or problems with the connection.

They're still not that similar even with a perfect connection.

If you just dropped the brick it would be better. Then you could set the respawn time really high, break alot of bricks with someone, and then have a tower building contest where you just drop one block on top of another and see how high you can get.


Dont Request an Addition to something that isnt even out yet.

I'm just suggesting this could be in v11, it doesn't mean it has to be out, people suggested achievement names for the TF2 Heavy update, that's almost the same thing.

I'm just suggesting this could be in v11, it doesn't mean it has to be out, people suggested achievement names for the TF2 Heavy update, that's almost the same thing.

When do Physics in Blockland and TF2 have in common?

People suggesting things about things not out yet.

People suggesting things about things not out yet.
That happens with most games.

Yeah, just to clear up any misunderstandings, when we say "Physics will be similar over different clients," what we really mean is that "Different clients will see wildly different things and the same physics brick could have hundreds of units between them."

What is meant by "similar" is that if you put a bomb right behind a window and have two players stand in front of the bomb, they'll both see it fly toward them in a relatively similar direction most of the time.

A few people picked up on this when I made my big lengthy post about it, but most of you seem to have not.

Yeah, just to clear up any misunderstandings, when we say "Physics will be similar over different clients," what we really mean is that "Different clients will see wildly different things and the same physics brick could have hundreds of units between them."

What is meant by "similar" is that if you put a bomb right behind a window and have two players stand in front of the bomb, they'll both see it fly toward them in a relatively similar direction most of the time.

A few people picked up on this when I made my big lengthy post about it, but most of you seem to have not.
exactly, anyways making clients work together with physics may cause lag.

exactly, anyways making clients work together with physics may cause lag.

thus shows how much you know.
this was already stated