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

It is possible to go through blocks #17

Open
ajh123 opened this issue Apr 25, 2024 · 1 comment
Open

It is possible to go through blocks #17

ajh123 opened this issue Apr 25, 2024 · 1 comment

Comments

@ajh123
Copy link

ajh123 commented Apr 25, 2024

Introduction

When moving horizontally it is possible to travel through blocks. It is also possible to jump through blocks - this means we can climb up trees. I have recorded some videos:

horizontally

2024-04-25_17-38-45.mov

vertically

2024-04-25_17-42-49.mov

possible solution

Consider adding collisions by using an AABB (essentially a bounding box around the player). You would check against all edges if they hit a block, changing the size of the AABB will allow for crawling.

@griffi-gh
Copy link
Owner

griffi-gh commented Apr 25, 2024

yeah the collision stuff is unfinished.

(btw jumping is also kinda scuffed and needs a rework)

I'm focused on other stuff at the moment though like networking

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

No branches or pull requests

2 participants