Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force bot to be at specific position #794

Closed
AWNoname opened this issue Apr 12, 2019 · 3 comments
Closed

Force bot to be at specific position #794

AWNoname opened this issue Apr 12, 2019 · 3 comments

Comments

@AWNoname
Copy link

Hi,
I wanted to let the Bot walk on some non-vanilla Servers but i got flagged by the anti-cheat when i try to move over slabs and stairs. I already know that this is because the slabs are considered as full-blocks by the bot so it looks like he is flying. Now i want to "force" him to be 0.5 blocks lower as he normally would be.
I tried to modify bot.entity.position, but this dont makes the bot move, it only changes tha value. I red something about hijacking bot.position (here) but bot.position is undefined. Am i doing something wrong or is there another way to accomplish this?

@rom1504
Copy link
Member

rom1504 commented May 4, 2019

it can only be fixed by supporting bounding box in physics engine I'm afraid... there's an open issue about that

@rom1504 rom1504 closed this as completed May 4, 2019
@AWNoname
Copy link
Author

AWNoname commented May 7, 2019

Yes i know that it could be fixed by supporting bounding box and i had already seen this issue and why it cannot be fixed that easily. what i want to do is something like "teleporting" the bot and ignoring the physics engine.

@rom1504
Copy link
Member

rom1504 commented May 7, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants