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] Most properties in 6DOFJoint do nothing. Also if two 6DOF joints are fixed to one rigid body, only one affects it. #50210

Open
Tracked by #45022
TheConceptBoy opened this issue Jul 6, 2021 · 9 comments

Comments

@TheConceptBoy
Copy link

Godot version

3.3.2

System information

Win 10k, ATI RX570

Issue description

Issue 1: Changing most of the properties in the 6DOF joint yields no change in behavior if the engine is set to Bullet / DEFAULT. Joint works fine if Godot Physics is used.

Issue 2: When two 6DOF joints a attached to the same rigid body, only one of the (First one to be attached) is affecting the rigid body. Issues goes away if Godot Physics is used.

Bug Evidence:
https://youtu.be/GsU4cX6bv8s

Steps to reproduce

Issue 1:
Set physics engine to Bullet:
Set a rigid body
attach two 6DOF joints to the body.
Only one of them will affect the body.

Issue 2:
Set physics engine to Bullet:
Play around with 6DOF joint properties.

Minimal reproduction project

No response

@Calinou Calinou changed the title Most properties in 6DOF joint do nothing under BULLET and DEFAULT physics engine. Also if two 6DOF joints are fixed to one rigid body, only one affects it. [Bullet] Most properties in 6DOFJoint do nothing. Also if two 6DOF joints are fixed to one rigid body, only one affects it. Jul 6, 2021
@TheConceptBoy
Copy link
Author

TheConceptBoy commented Oct 3, 2021

So is this going to be worked on?
So far the solution to fixing this engine feature problem is to not use the engine feature in the first place by using Godot physics. Are these properties mentioned on the roadmap anywhere to be implemented by any chance? I'm on 3.3.3

I mean Godot physics works.... passably. I get meshes glitching through the ground when they fall and my world scaling is pretty adequate. With bullet physics, the rigid bodies interact with the world perfectly and my game performance (in VR) goes from 30fps to 70fps. That's a pretty substantial improvement over Godot Physics.

The fact that none of the 5DOF joint settings actually do anything makes all that performance gain unobtainable.

@Calinou
Copy link
Member

Calinou commented Oct 3, 2021

So is this going to be worked on?

This may be fixed incindentally in 4.0, but I don't think anyone has started looking into it yet.

Also, note that Bullet will be removed in 4.0 in favor of GodotPhysics becoming the new default physics engine (as it was before Godot 3.0).

@TheConceptBoy
Copy link
Author

Also, note that Bullet will be removed in 4.0 in favor of GodotPhysics becoming the new default physics engine (as it was before Godot 3.0).

Is it now? that's surprising. Bullet seems to perform way better than Godot Physics in my case at least. So that's disappointing.

@Calinou
Copy link
Member

Calinou commented Oct 3, 2021

Is it now? that's surprising. Bullet seems to perform way better than Godot Physics in my case at least. So that's disappointing.

GodotPhysics is receiving a lot of changes to make it faster and more stable. This will make Bullet obsolete for most use cases.

@TheConceptBoy
Copy link
Author

I see. So this then my only hope lies on whether or not my project in 3.3 is compatible with godot 4.

@Leakbang
Copy link

Leakbang commented Nov 8, 2021

These two issues still persist in 3.4 Stable. However, when a 6DOF joint is used with another joint type like a Hinge joint, then both of them affect the attached rigidbodies. @TheConceptBoy you may be able to use this to circumvent your issue.

@TheConceptBoy
Copy link
Author

I've been told that Bullet is being removed from Godot so I double we're gonna see fixes for this. :( It's sad as Bullet physics has such a performance boost over Godot physics in my projects. but perhaps it's because it was not fully implemented.

@Leakbang
Copy link

Leakbang commented Nov 8, 2021

Actually I was just searching for why bullet is planned to be removed. It is such a powerful and established physics library that makes it really difficult to compete with. I wonder how good the new physics library is that the devs want to totally replace bullet.

@Leakbang
Copy link

These two issues still persist in 3.4 Stable. However, when a 6DOF joint is used with another joint type like a Hinge joint, then both of them affect the attached rigidbodies. @TheConceptBoy you may be able to use this to circumvent your issue.

After more intensive tests, I can verify that all of the properties in 6DOF joint work. My bad. It turned out that Linear limit was overpowering all the other effects.

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

3 participants