Giter VIP home page Giter VIP logo

Comments (10)

 avatar commented on August 16, 2024 1

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?

from myentities.

benda95280 avatar benda95280 commented on August 16, 2024 1

I could take a look.
@thebigsmileXD Could you tell me where it's enabled in MYE ?

from myentities.

 avatar commented on August 16, 2024

weird it disappeared after a restart, closing for being unproducable..

from myentities.

benda95280 avatar benda95280 commented on August 16, 2024

Have a nice day 👍

from myentities.

 avatar commented on August 16, 2024

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.

from myentities.

benda95280 avatar benda95280 commented on August 16, 2024

Could you give me the configuration of the Head ?

from myentities.

 avatar commented on August 16, 2024

MyEntities.zip

from myentities.

inxomnyaa avatar inxomnyaa commented on August 16, 2024

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.

from myentities.

inxomnyaa avatar inxomnyaa commented on August 16, 2024

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

from myentities.

inxomnyaa avatar inxomnyaa commented on August 16, 2024

An option would be great, but i am currently busy with Nethergames

from myentities.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.