MyEntities
MyEntities copied to clipboard
players can't collide with each other
Describe the bug when u get close to a player u can't go through him it pushes u away and sometimes pushes him away too
To Reproduce Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior you go through the player
Screenshots
Additional Infos
- Version of Pocketmine: 3.15.0
- Version of the Plugin: 0.1.2
weird it disappeared after a restart, closing for being unproducable..
Have a nice day 👍
confirmed!
steps to reproduce: 1- spawn a head entity 2- walk toward it and let it push u back 3- boom!, the whole server players can no longer go through each other! they all get pushed back as if it was a head they are trying to go through.
EDIT: it goes back to normal after server restart, it only happens after a player tries to go through a head entity spawned by MyEntities plugin.
Could you give me the configuration of the Head ?
I can tell you why this happens. In order to make the block/skull type entities work, the players collision flag will be enabled. All pushing is done client side.
This means if 2 players collided with a MyEntities entity that acts as a block, they will start colliding with each other.
As far as i know i added a description of this behavior in the README of the pull request/new version.
No crazy bug, no magic 'boom' but an intentional feature.
You could add some code to disable the collision detection flag when you collide with a player entity. I didn't so that in this plugin so players will not suddenly glich through solid entities
You could add some code to disable the collision detection flag when you collide with a player entity.
i don't know how to do that, can u provide a code for it or make it optional in the config?
An option would be great, but i am currently busy with Nethergames
I could take a look. @thebigsmileXD Could you tell me where it's enabled in MYE ?