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

Frog sliding into trees #6

Open
valkyrienyanko opened this issue Jun 25, 2023 · 1 comment
Open

Frog sliding into trees #6

valkyrienyanko opened this issue Jun 25, 2023 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@valkyrienyanko
Copy link
Collaborator

valkyrienyanko commented Jun 25, 2023

Notice how the frogs collision box slides into the trees? This is undesired behavior.

2023-06-25.17-11-56.mp4

On a side note, the frog spent way too much time in that small space, it would be nice if it knew where to go. Perhaps instead of casting a random raycast around it, it casts 4 or 8 raycasts around it everytime it wants to slide around. But this is for another issue.

@valkyrienyanko valkyrienyanko added the help wanted Extra attention is needed label Jun 25, 2023
@JamesDepret
Copy link
Contributor

https://docs.godotengine.org/en/4.1/tutorials/physics/physics_introduction.html#move-and-collide

Second code part, Or to bounce off of the colliding object: might work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants