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

3D KinematicBody is not correctly detecting collision with PlaneShape #5910

Open
Tracked by #45333
CowThing opened this issue Jul 25, 2016 · 11 comments · May be fixed by #39361
Open
Tracked by #45333

3D KinematicBody is not correctly detecting collision with PlaneShape #5910

CowThing opened this issue Jul 25, 2016 · 11 comments · May be fixed by #39361

Comments

@CowThing
Copy link
Contributor

Operating system or device - Godot version:
Windows 10 64bit - Godot 2.1 RC1

Issue description (what happened, and what was expected):
The KinematicBody is_colliding() function does not return true when the body is colliding with an object that has a PlaneShape collision shape. It does still get stopped by the object, but doesn't report the collision.

Steps to reproduce:
Create a StaticBody with a PlaneShape collision. Create a KinematicBody with a simple BoxShape collision, and add a script to it to move into the StaticBody. Print is_colliding()

@ghost
Copy link

ghost commented Jul 27, 2016

I can confirm this happens on Linux 64bit 2.1 RC1

@pkowal1982
Copy link
Contributor

Still present on 2.1.2. I'm attaching test scenes, the one called test_plane.tscn should print COLLISION on contact like test.tscn.
godot_collision_bug.zip

@bojidar-bg
Copy link
Contributor

bojidar-bg commented Feb 2, 2017

For the record, this is a duplicate of the archived #962 (but the other was closed as no one answered on it, so this should stay).

I should have been fixed in c79be97 -

-Added kinematic collision with plane (please test well). #911

But seems like it wasn't...

@LeonardMeagher2
Copy link
Contributor

LeonardMeagher2 commented Dec 20, 2017

@bojidar-bg
#962 was fixed with bullet (still an issue with godot's physics)
also you're correct that it wasn't fixed with that commit related to #911

this is present currently in master as of Dec 19th 2017

@ghost
Copy link

ghost commented Apr 24, 2018

Can confirm in master 394e6d5

@sketchyfun
Copy link
Contributor

Area's don't appear to detect plane collision shapes either

@newbie2356
Copy link

is_on_floor() reports false when using a planeshape collision shape.

@reduz
Copy link
Member

reduz commented Jul 29, 2018

@AndreaCatania ?

@AndreaCatania
Copy link
Contributor

The plane shape is not meant to be a floor, but is meant to kind of world margin... For this reason it doesn't work properly.

@henriquelalves
Copy link
Contributor

Can confirm this on current master (0babb)

@madmiraal
Copy link
Contributor

This is fixed in Bullet physics with #35945 and Godot physics with #39361.

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.