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

[Bullet] GridMap collisions broke from 3.1.2 to 3.2 #35713

Closed
Tracked by #45022
trollodel opened this issue Jan 29, 2020 · 4 comments
Closed
Tracked by #45022

[Bullet] GridMap collisions broke from 3.1.2 to 3.2 #35713

trollodel opened this issue Jan 29, 2020 · 4 comments

Comments

@trollodel
Copy link
Contributor

trollodel commented Jan 29, 2020

Godot version:
3.2

OS/device including version:
Ubuntu 18.04 based distro (KDE neon)

Issue description:
I have a GridMap with a MeshLibrary where KinematicBody entities walk on (using move_and_collide).
In 3.1.2 these enemies walk correctly, without colliding with the Gridmap.
But in 3.2, enemies collide with the Gridmap and can't move across the tile's CollsionShape edges.
Only after some time, the enemies can across the tile, but they will be blocked by another tile.
However, they can't ever pass across a vertex.

Here is a sample images with the collision shapes. The enemy's CollsisionShape is the cylinder.
bug godot

Ask me for any specific question about the movement or something else.

@Chaosus Chaosus changed the title GridMap collisions broke from 7.1.2 to 7.2 GridMap collisions broke from 3.1.2 to 3.2 Jan 29, 2020
@Calinou
Copy link
Member

Calinou commented Jan 29, 2020

@trollodel Please upload a minimal reproduction project to make this easier to troubleshoot.

@trollodel
Copy link
Contributor Author

Here is a slimmed down version of my project
gridmap-example.zip

There is a KinematicBody that follows the player (Use WASD to move the player ).
The project has no sprites, so you should enable collision shapes visibility.

@akien-mga akien-mga added this to the 4.0 milestone Jun 30, 2020
@pouleyKetchoupp pouleyKetchoupp changed the title GridMap collisions broke from 3.1.2 to 3.2 [Bullet] GridMap collisions broke from 3.1.2 to 3.2 Jan 7, 2021
@pouleyKetchoupp
Copy link
Contributor

Can be still reproduced in 3.2.4 beta 5, but occurs only when using Bullet Physics (default settings). Switching to Godot Physics 3D fixes the movement issues (although cylinders are not supported in Godot Physics yet, so I had to switch to boxes to check).

@akien-mga
Copy link
Member

Duplicate of #35780, fixed by #56801.

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

Successfully merging a pull request may close this issue.

6 participants