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

body_test_motion causes crash when used with a Rigidbody and Bullet #51847

Closed
mrezai opened this issue Aug 18, 2021 · 3 comments · Fixed by #51859
Closed

body_test_motion causes crash when used with a Rigidbody and Bullet #51847

mrezai opened this issue Aug 18, 2021 · 3 comments · Fixed by #51859

Comments

@mrezai
Copy link
Contributor

mrezai commented Aug 18, 2021

Godot version

3.4-beta3

System information

OS: ubuntu 18.04

Issue description

body_test_motion exposed in this PR: #50103
It works correctly with Godot physics for both KinematicBody and RigidBody, it doesn't crash and result properties like collision_safe_fraction will be updated after calling body_test_motion:
Screenshot from 2021-08-18 21-58-28

but when calling body_test_motion with Bullet and KinematicBody, the result properties are zero and calling it with RigidBody will cause a crash
Screenshot from 2021-08-18 21-57-48

Steps to reproduce

Run the attached project

Minimal reproduction project

Test-body_test_motion.zip

@mrezai
Copy link
Contributor Author

mrezai commented Aug 18, 2021

@Calinou I think this issue should be added to 3.4 milestone too. I found it on 3.4-beta3

@akien-mga
Copy link
Member

akien-mga commented Aug 18, 2021

@mrezai There can only be one milestone on GitHub. The bug is likely valid in both master and 3.x and we usually use the most recent affected branch as milestone in this case. But the bug will be fixed in both branches.

Also, nice to see you on Godot's GitHub again after all these years ;)

@mrezai
Copy link
Contributor Author

mrezai commented Aug 18, 2021

@mrezai There can only be one milestone on GitHub. The bug is likely valid in both master and 3.x and we usually use the most recent affected branch as milestone in this case. But the bug will be fixed in both branches.

Also, nice to see you on Godot's GitHub again after all these years ;)

👍
Thanks, nice is what you and other contributors done in these years. I'm still waiting for Godot :)

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

Successfully merging a pull request may close this issue.

4 participants