Skip to content

Add new collision system#436

Merged
myildirimofficial merged 4 commits into
myildirimofficial:masterfrom
ngoedde:feature/collision-rework
Sep 26, 2022
Merged

Add new collision system#436
myildirimofficial merged 4 commits into
myildirimofficial:masterfrom
ngoedde:feature/collision-rework

Conversation

@ngoedde
Copy link
Copy Markdown
Contributor

@ngoedde ngoedde commented Sep 23, 2022

Adds a new collision system to the bot.
image

How to setup?
Copy over the new map file from the dependencies folder to the build folder

How to test?
Run in debug mode and enjoy the minimap in the bot.

ToDos (after merge):

  • Fixup bridges and other accessable objects, but that's something for the collision compiler not the bot.
  • Add collision detection to dungeons
  • It's a new system, so there might be some bugs left, but due to the new system, it's alot easier to troubleshoot bugs
  • Tweak around with the tolerance for the collision detection.

(!) After this change, RSBot may take up to 20MB more RAM, beacuse the collisions are all loaded at once, not region specific. But for that, the performance has been increased by far!

@myildirimofficial myildirimofficial merged commit 4b6e714 into myildirimofficial:master Sep 26, 2022
@myildirimofficial
Copy link
Copy Markdown
Owner

Amazing work 👍 🥇

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

Successfully merging this pull request may close these issues.

2 participants